[IPython-dev] Fwd: Rendering Bug in Notebook?
Thu Oct 25 13:19:01 CDT 2012
This is a bug in matplotlib. This bug
similar to what you describe. I wrote a pulll request for mpl that
contains a fix and a test to solve it
(https://github.com/matplotlib/matplotlib/pull/1420) but is not yet merged
into master. The bug should not be in matplotlib 1.2.x 1.1.1 and older.
On Thu, Oct 25, 2012 at 7:33 PM, Patrick Marsh <email@example.com> wrote:
> Just noticed that this was sent to ipython-user not ipython-dev on accident.
> Sorry for the cross-posting.
> ---------- Forwarded message ----------
> Hi, All,
> Before I file an issue ticket, I wanted to make sure that I'm not messing up
> something on my end…
> When making a plot in IPython Notebook that includes text or a legend in the
> plotting area that is not a title or axis label causes the figure to lose
> the axes spines and a host of other information. Here's a gist to
> illustrate: http://nbviewer.ipython.org/3952759/
> The first figure doesn't add anything to the plot and thus displays
> correctly. The second figure, however, adds a legend, a text box, and labels
> colored grid points. This figure is not displayed correctly. (I've tried all
> sorts of combinations of the three, and they all cause the display issue.)
> I'm using latest dev versions of IPython, Matplotlib, and ZMQ. (This info is
> included in the notebok.)
> When downloading the notebook as a .py file and running it in IPython
> normally, the plot is saved just fine. Furthermore, running the script in
> the IPython Notebook (and including plt.save()), the saved figure is also
> displayed correctly.
> Is this an actual bug or did I mess something up?
> Patrick Marsh
> Ph.D. Candidate / Liaison to the HWT
> School of Meteorology / University of Oklahoma
> Cooperative Institute for Mesoscale Meteorological Studies
> National Severe Storms Laboratory
> IPython-dev mailing list
More information about the IPython-dev