We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c433ade commit dfd9082Copy full SHA for dfd9082
1 file changed
src/estrapy/estrapy.py
@@ -177,11 +177,6 @@ def main():
177
pass
178
179
# At the end of the commands, check if there are any figures that are not shown.
180
- if "figurerun" in context.options.other:
181
- all_figures = context.options.other["figurerun"]
182
- all_figures:dict[int, FigureRuntime]
183
-
184
- figures = [fig for fig in all_figures.values() if not fig.shown]
185
- if figures:
186
- plt.show()
+ if any([not fig.shown for fig in context.figures.figureruntimes.values()]):
+ plt.show()
187
0 commit comments