danjgale / surfplot

A package for publication-ready brain surface figures
https://surfplot.readthedocs.io/en/latest/
Other
53 stars 14 forks source link

After "fig.show()", there was no any result #28

Open Eric-gw opened 1 year ago

Eric-gw commented 1 year ago

Thank you for this nice tool! I would like to use it to plot surfaces, but I seem to have a slight problem while repeating the steps of the tutorial.... I ran the program on jupyter lab. ''from neuromaps.datasets import fetch_fslr surfaces = fetch_fslr() lh, rh = surfaces['inflated']

from surfplot import Plot p = Plot(surf_lh=lh, surf_rh=rh) fig = p.build()

show figure, as you typically would with matplotlib

fig.show()"

There was no error warning, but after "fig.show()", there was no any result.

The result is shown in the figure. (ps,the cells have already been run ) result

Looking forward to getting your answer, thank you!

danjgale commented 1 year ago

Hi @Eric-gw

Interesting, this looks also related to #24. What version of matplotlib (and Jupyter) are you running?

Eric-gw commented 1 year ago

The version of matplotlib is '3.7.2', and Jupyter lab is '2.2.6'.