File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/easydiffraction/plotting/plotters Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,10 @@ def plot(
110110 # This can lead to warnings in Jupyter notebooks:
111111 # WARNING: skipping unknown output mime type: application/vnd.plotly.v1+json [mystnb.unknown_mime_type]
112112 if is_notebook () or is_pycharm () or display is None or HTML is None :
113+ print (
114+ f'----DEBUG----: fig.show(): is_notebook()={ is_notebook ()} , is_pycharm()={ is_pycharm ()} , '
115+ f'display={ display } , HTML={ HTML } '
116+ )
113117 fig .show (config = config )
114118
115119 # If IPython is available, we can convert the figure to HTML and
@@ -124,4 +128,5 @@ def plot(
124128 )
125129
126130 # Display it in the notebook
131+ print ('----DEBUG----: display(HTML(html_fig))' )
127132 display (HTML (html_fig ))
You can’t perform that action at this time.
0 commit comments