Commit 0d77ab60 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'fixes' into 'master'

Enable grid on all histograms

See merge request !83
parents ddf5d699 fac19d07
Pipeline #21547 passed with stages
in 23 minutes and 34 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