New issue

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

using ggsave in a notebook will show a plot #140

Closed
jankatins opened this Issue Dec 24, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@jankatins
Contributor

jankatins commented Dec 24, 2013

In an ipython notebook:

gg = ggplot(..)
ggsave(gg)
gg

-> Will print two plots

@ghost ghost assigned glamp Jan 2, 2014

jankatins added a commit to jankatins/ggplot that referenced this issue Jan 21, 2014

FIX: ggsave needs to close a drawn plot
Up to now, ggsave(ggplot_object) would draw the plot and this would
then show up in ipthon notebook. So

```python
gg = ggplot(...)
print(gg)
ggsave(gg)
```

would show the plot twice.

closes: yhat#140

jankatins added a commit to jankatins/ggplot that referenced this issue Jan 21, 2014

FIX: ggsave needs to close a drawn plot
Up to now, ggsave(ggplot_object) would draw the plot and this would
then show up in ipthon notebook. So

```python
gg = ggplot(...)
print(gg)
ggsave(gg)
```

would show the plot twice.

closes: yhat#140
@jankatins

This comment has been minimized.

Show comment
Hide comment
@jankatins

jankatins Jan 21, 2014

Contributor

closed by #166

Contributor

jankatins commented Jan 21, 2014

closed by #166

@jankatins jankatins closed this Jan 21, 2014

has2k1 pushed a commit to has2k1/plotnine that referenced this issue Apr 25, 2017

FIX: ggsave needs to close a drawn plot
Up to now, ggsave(ggplot_object) would draw the plot and this would
then show up in ipthon notebook. So

```python
gg = ggplot(...)
print(gg)
ggsave(gg)
```

would show the plot twice.

closes: yhat/ggpy#140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment