Skip to content
Snippets Groups Projects

Add image tests

Merged Oscar Gustafsson requested to merge imagetests into master
4 files
+ 12
3
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 4
1
@@ -563,9 +563,12 @@ class Schedule:
@@ -563,9 +563,12 @@ class Schedule:
)
)
def plot_schedule(self) -> None:
def plot_schedule(self) -> None:
 
self._get_figure().show()
 
 
def _get_figure(self):
fig, ax = plt.subplots()
fig, ax = plt.subplots()
self._plot_schedule(ax)
self._plot_schedule(ax)
fig.show()
return fig
def _repr_svg_(self):
def _repr_svg_(self):
fig, ax = plt.subplots()
fig, ax = plt.subplots()
Loading