Skip to content

3D visualization with vertical exaggeration #975

Closed Answered by NilsChudalla
LFGS20 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LFGS20 ,

the weird axis labels are a pyvista issue and I cannot provide an immediate solution yet. I found a small workaround, which is not sufficient for many cases, because the z-axis labels disappear and the fontsize is fixed still, however, at least readable (not sure why). This does not work for gpv.plot_3d(geo_model, image=True)!

I found that you can "reset" the fontsize in pyvista like this:

import pyvista as pv
plotter = gpv.plot_3d(geo_model, show=False) # store the pyvista plotter object but supress display

# plotter.p is the pyvista Plotter() class
plotter.p.show_bounds(font_size=100) # just set any number as fontsize here

# show plotter
plotter.p.show()

Regarding the ba…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@LFGS20
Comment options

@NilsChudalla
Comment options

Answer selected by NilsChudalla
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants