Commit fac19d07 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Enable grid on all histograms

parent ddf5d699
Pipeline #21543 passed with stage
in 29 minutes and 20 seconds
......@@ -790,14 +790,14 @@ class Hist(PlotBase):
if draw_line:
self._lines(threshold, label, neg, pos, idx)
# enable the grid and set it below other elements
axis.set_axisbelow(True)
axis.grid(True, color=self._grid_color)
# if it was the last subplot of the page or the last subplot
# to display, save figure
if self._step_print == sub_plot_idx or (is_lower and sys ==
self.n_systems - 1):
# enable the grid and set it below other elements
axis.set_axisbelow(True)
axis.grid(True, color=self._grid_color)
# print legend on the page
self.plot_legends()
mpl.tight_layout()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment