2d view #932
MarinCronograph
started this conversation in
General
2d view
#932
Replies: 1 comment 5 replies
-
Hi, Cheers |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello,
i am trying to get 2d view with this line. I have imported gempy_viewer and have created initial model extent (geo_model: gp.data.GeoModel = gp.create_geomodel....
Am using this line to visualise p2d = gpv.plot_2d(geo_model) and getting warning . UserWarning: FigureCanvasAgg is non-interactive, and thus cannot be shown
p.fig.show()
However if i change to p2d = gpv.plot_3d(geo_model) it shows axes that i can rotate (after installing pyvista)
HAve googled about this 2d warning and there was adviced to use -matplotlib.use('Agg')
However this didnt help.
p.s I am using Anaconda environment, Spyder , Python version 3.12
rgds
MArin Mirosevic
Beta Was this translation helpful? Give feedback.
All reactions