We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is what I'm doing currently to get high-res plots displayed in Jupyter-VSCode
import plotnine as p9 import matplotlib.pyplot as plt p = (p9.ggplot....) fig = p.draw() fig.set_dpi(300) display(fig) plt.close(fig)
It would be great if I could instead put the dpi as an argument to p.show()
p.show()
The text was updated successfully, but these errors were encountered:
You still have two other options.
... + theme(dpi=300)
from plotnine.options import set_option old_dpi = set_option("dpi", 300)
Sorry, something went wrong.
Didn't know theme had a dpi argument. That works perfectly. Thanks!
theme
dpi
No branches or pull requests
This is what I'm doing currently to get high-res plots displayed in Jupyter-VSCode
It would be great if I could instead put the dpi as an argument to
p.show()
The text was updated successfully, but these errors were encountered: