Skip to content

p.show() should take in a dpi argument #932

Open
@anishazaveri

Description

@anishazaveri

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()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions