Issue with Chinese Characters in CSV File Not Displaying in 3D Visualization in GemPy#980
-
BetaWas this translation helpful?Give feedback.
All reactions
Hi@fivetaibin,
can you verify, that this problem does not exist in 2d plots? Can you also show me, what the structural frame (geo_model.structural_frame) looks like? I am fairly certain, that this is a pyvista limitation, as they allow only one of three basic fonts in the legend (doc#1,docs#2). There was anothersimilar issue discussed on pyvista already.
My suggestion how to solve this, is to
- create an image of the legend in matplotlib (you can also add custom fonts to matplotlib,example)
- toggle legend in gpv.plot_3d()
- return the pvvista object from gpv.plot_3d, add figure as a chart (example)
plotter = gpv.plot_3d(geo_model, legend=False, show=False) # store the pyvista plotter but…Replies: 2 comments 2 replies
-
this is csv file. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi@fivetaibin, can you verify, that this problem does not exist in 2d plots? Can you also show me, what the structural frame ( My suggestion how to solve this, is to
If you are able to solve your problem using this or another method, it would be great, if you could share your solution here. I think there are other Chinese users, that would appreciate that a lot. |
BetaWas this translation helpful?Give feedback.
All reactions
-
I just wanted to thank you for your helpful suggestion! I followed your solution and was able to resolve the issue with ease. It worked perfectly! Thanks again for your support! Best regards, |
BetaWas this translation helpful?Give feedback.
All reactions
-
I am very happy to hear! I will close the topic for now, but feel free to reopen or start a new thread any time |
BetaWas this translation helpful?Give feedback.
