[IPython-dev] Maptlotlib Contour Issue (Bug?) with IPython Notebook
Mon Apr 22 11:27:18 CDT 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.
Techniques Development Meteorologist
NOAA/NWS/NCEP Storm Prediction Center
+1 (405) 325-3844
On Mon, Apr 22, 2013 at 3:10 AM, Phil Elson <email@example.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.
> On 22 April 2013 05:36, Bradley M. Froehle <firstname.lastname@example.org> 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 <email@example.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 <firstname.lastname@example.org
>>> > wrote:
>>>> 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.
>>>> The above notebook was generated on a Mac.
>>>> Any ideas?
>> IPython-dev mailing list
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev