Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPlease provide some example with plain Python #307
Labels
Comments
|
like this from plotnine import *
from plotnine.data import mtcars
p = ggplot(mtcars, aes(x='hp', y='mpg))
p = p + geom_point()
p.save("output.png") |
|
OK, thanks. Is there something similar to plt.show() ? Thank you |
print(p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
all the examples and tutorial are based on iPython:
%matplotlib inline
start generating some fancy graph
How can I produce graphs in a simple python script ?
f, ax = plt.subplots(figsize=(8, 6)
generate some graph
plt.show()
Thanks