Skip to content

Change size and dpi of plot in SolaraViz #2517

Answered by quaquel
gkutlerdodd asked this question in Q&A
Discussion options

You must be logged in to vote

Good question and no idea.

You can get the figure from the Axes instance (i.e., ax.fig), see matplotlib.Axes. Once you have the figure instance, you have access to all methods that are defined on the figure. See matplotlib.Figure. There are a set_size_inches and set_dpi method, so it should be possible to do this.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@gkutlerdodd
Comment options

@quaquel
Comment options

@gkutlerdodd
Comment options

@EwoutH
Comment options

@quaquel
Comment options

Answer selected by gkutlerdodd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants