You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context
In my documentation I need to specifically explain how tyo design the Figure and Axes object so I split the creation of the subplots from the other cells. To avoid to see an empty figure being display after my cell I activate the ioff mode of pyplot.
expectation
I expect the behaviour of mystnb to be consistent with the behaviour of the notebook in jupyter, collab and visual studio code i.e. to not display the empty graph as it's not yyest populated.
bug
When the doc is build the grah apears anyway:
Reproduce the bug
execute the following cell in Jupyter and then in a Sphinx documentation:
frommatplotlibimportpyplotaspltplt.ioff() # remove interactive for the sake of the examplefig, ax=plt.subplots()
The text was updated successfully, but these errors were encountered:
Describe the bug
context
In my documentation I need to specifically explain how tyo design the
Figure
andAxes
object so I split the creation of the subplots from the other cells. To avoid to see an empty figure being display after my cell I activate theioff
mode of pyplot.expectation
I expect the behaviour of mystnb to be consistent with the behaviour of the notebook in jupyter, collab and visual studio code i.e. to not display the empty graph as it's not yyest populated.
bug
When the doc is build the grah apears anyway:
Reproduce the bug
execute the following cell in Jupyter and then in a Sphinx documentation:
The text was updated successfully, but these errors were encountered: