[IPython-dev] inline plot is not shown in notebook
Jens Nielsen
jenshnielsen at gmail.com
Wed Jul 29 18:01:28 EDT 2015
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>:
> Do you mean like this:
>
>
> [image: Inline image 1]
>
> Yes, it is the same thing:(
>
> On Wed, Jul 29, 2015 at 10:37 PM, Paul Hobson <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> 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:
>>> [image: 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:
>>> [image: 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
>>> 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
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150729/62749cc3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 49139 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150729/62749cc3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 30085 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150729/62749cc3/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 30806 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150729/62749cc3/attachment-0002.png>
More information about the IPython-dev
mailing list