[IPython-dev] Maptlotlib Contour Issue (Bug?) with IPython Notebook
Patrick Marsh
patrickmarshwx at gmail.com
Mon Apr 22 12:27:18 EDT 2013
Thanks for the prompt response/fix! I'll go check out the new pull request
and move my comments on that issue over there.
Cheers,
Patrick
---
Patrick Marsh
Techniques Development Meteorologist
NOAA/NWS/NCEP Storm Prediction Center
+1 (405) 325-3844
http://www.spc.noaa.gov
On Mon, Apr 22, 2013 at 3:10 AM, Phil Elson <pelson.pub at gmail.com> wrote:
> I've just submitted a fix for this problem at
> https://github.com/matplotlib/matplotlib/pull/1929. It was reproducible
> without IPython if you add the line:
>
> plt.savefig('test.png', bbox_inches='tight')
>
> Interestingly though, there was no error message being shown by IPython,
> which I'm guessing was being suppressed by the try..finally on ~L104 of
> IPython.kernel.zmq.pylab.backend_inline - I wonder if any exceptions
> which get caught there should be displayed on the notebook. That would
> certainly have helped in this case.
>
> Cheers,
>
> Phil
>
>
>
> On 22 April 2013 05:36, Bradley M. Froehle <brad.froehle at gmail.com> wrote:
>
>> Apologies, git bisect led me astray... I think the actual regression was
>> introduced in:
>>
>> b8bc21f4a5854a1cb5778b9ee1db41e1d352948a is the first bad commit<https://github.com/matplotlib/matplotlib/commit/b8bc21f4a5854a1cb5778b9ee1db41e1d352948a>
>> commit b8bc21f4a5854a1cb5778b9ee1db41e1d352948a
>> Author: Phil Elson <pelson.pub at gmail.com>
>> Date: Wed Mar 13 13:47:17 2013 +0000
>>
>> bbox_inches=tight support for *all* figure artists.
>>
>> :100644 100644 da3c6434a7aad793a86c118f992d0ffcd0a2eb03
>> 0a84c2d30d199128926d871c88383e48d1dac5eb M .travis.yml
>> :040000 040000 f350144dddd930bc353985ba79e6bf090fdb6e7c
>> b0f96dce7f8cb39c54202e7a08bc74675fad2e6a M lib
>>
>> On Sun, Apr 21, 2013 at 8:02 PM, Patrick Marsh <patrickmarshwx at gmail.com
>>> > wrote:
>>>
>>>> Greetings,
>>>>
>>>> Below is a link to an IPython Notebook instance that tries to do a
>>>> simple contour plot. Unfortunately, I can't get a contour plot to actually
>>>> appear. If I do a pcolormesh plot, that works...so it isn't a display
>>>> issue. Furthermore, if one takes the code in the first cell of the notebook
>>>> below, it will work if pasted into an IPython console.
>>>>
>>>> I'm currently running the latest (HEAD) for both Matplotlib and IPython.
>>>>
>>>> http://nbviewer.ipython.org/5432157
>>>>
>>>> The above notebook was generated on a Mac.
>>>>
>>>>
>>>> Any ideas?
>>>>
>>>
>> _______________________________________________
>> 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/20130422/6db5c176/attachment.html>
More information about the IPython-dev
mailing list