Commit 9af4a3f5 authored by Alex UNNERVIK's avatar Alex UNNERVIK

Apply suggestion to bob/measure/script/figure.py

parent 9e50ed65
Pipeline #38978 passed with stage
in 4 minutes and 37 seconds
......@@ -887,10 +887,7 @@ class GridSubplot(PlotBase):
i1 = i * self._row_times + self._grid_axis_offset
i2 = (i + 1) * self._row_times + self._grid_axis_offset
j1, j2 = j * self._col_times, (j + 1) * self._col_times
if shared_axis is not None:
axis = mpl.gcf().add_subplot(self._gs[i1:i2, j1:j2], sharex=shared_axis)
else:
axis = mpl.gcf().add_subplot(self._gs[i1:i2, j1:j2])
return axis
def finalize_one_page(self):
......
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