[IPython-dev] inline plot is not shown in notebook
Zoltán Vörös
zvoros at gmail.com
Thu Jul 30 02:34:11 EDT 2015
Jens,
Many thanks, that was it! It seems that I was so used to the fact that
ipython automatically appends the show() that it didn't occur to me that
I should do that.
Cheers,
Zoltán
On 07/30/2015 12:01 AM, Jens Nielsen wrote:
> Hi Zoltán
>
> This is due to recent changes in Matplotlib and how the automatic draw
> works see https://github.com/matplotlib/matplotlib/issues/4774
>
> Until it is fixed you should be able to solve it by adding a
> plt.show() to the end of the cell
>
>
> ons. 29. jul. 2015 kl. 22.01 skrev Zoltán Vörös <zvoros at gmail.com
> <mailto:zvoros at gmail.com>>:
>
> Do you mean like this:
>
>
> Inline image 1
>
> Yes, it is the same thing:(
>
> On Wed, Jul 29, 2015 at 10:37 PM, Paul Hobson <pmhobson at gmail.com
> <mailto:pmhobson at gmail.com>> wrote:
>
> Does this happen with %matplotlib inline as well?
>
> On Wed, Jul 29, 2015 at 1:28 PM, Zoltán Vörös
> <zvoros at gmail.com <mailto:zvoros at gmail.com>> wrote:
>
> Hi all,
>
> I have taken the latest matplotlib code from github, and
> installed it. Now, inline plots are not shown in the
> notebook anymore, I only get the plot signature like this:
> Inline image 1
>
> Is there something that I should set? If so, what would
> that be? I have found a couple of postings here and there,
> but those didn't solve my problem.
>
> I can use the notebook backend like so:
> Inline image 2
>
> but this requires the extra "fig, (ax) = subplots(1)" line
> before every plot command, otherwise, the figure is drawn
> only once, no matter how many times I issue the plot
> command. Is there a setting that blocks subsequent plots?
>
> I am running ipython version 4.0 with python 3.3 kernel.
>
> Thanks,
>
> Zoltán
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list