Commit ffb23f85 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

enable grid on histograms

parent 5636f171
Pipeline #21479 passed with stage
in 22 minutes and 14 seconds
......@@ -795,6 +795,9 @@ class Hist(PlotBase):
# 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