Re: [Matplotlib-users] tex rendering broken?

2014-11-03 Thread Martin Wiebusch
I just downgraded to matplotlib 1.1.1 and now everything works. Looks like a regression to me. On Fri, 2014-10-31 at 15:53 +, Martin Wiebusch wrote: I am having trouble executing the example for typesetting labels with latex from http://matplotlib.org/users/usetex.html. Copying the standard

[Matplotlib-users] Fwd: tex rendering broken?

2014-11-03 Thread Thomas Caswell
Forwarding message to list that should have gone there initialy for archiving. -- Forwarded message -- From: Thomas Caswell tcasw...@gmail.com Date: Mon, Nov 3, 2014 at 7:50 AM Subject: Re: [Matplotlib-users] tex rendering broken? To: Martin Wiebusch mwiebusc...@gmail.com My

[Matplotlib-users] Fwd: tex rendering broken?

2014-11-03 Thread Thomas Caswell
Forwarding message to list that should have gone there initialy for archiving. -- Forwarded message -- From: Martin Wiebusch mwiebusc...@gmail.com Date: Mon, Nov 3, 2014 at 8:26 AM Subject: Re: [Matplotlib-users] tex rendering broken? To: Thomas Caswell tcasw...@gmail.com On

Re: [Matplotlib-users] savefig and StringIO error on Python3

2014-11-03 Thread Pierre Haessig
Le 02/11/2014 09:34, Scott Lasley a écrit : I wish I could say that it was because of a deep understanding of the inner workings of matplotlib or a rock solid grasp of python 3's bytes vs strings, but it wasn't. fig.savefig threw the TypeError: string argument expected, got 'bytes'

Re: [Matplotlib-users] matplotlib save image as postscript, when xlabel is saved as text and not path

2014-11-03 Thread Oren
Anyone know how to solve this thing? Thanks. On 2 November 2014 03:40, oren oren...@gmail.com wrote: How can I save a matplotlib figure with text as a postscript image and that the text will be saved as text. Currently when I save the image as postscript all the text in the image ( xlabel,

Re: [Matplotlib-users] matplotlib save image as postscript, when xlabel is saved as text and not path

2014-11-03 Thread Paul Hobson
What happens when you save as a postscript file with matplotlib.rcParams[text.usetex] = False? -paul On Mon, Nov 3, 2014 at 7:11 AM, Oren oren...@gmail.com wrote: Anyone know how to solve this thing? Thanks. On 2 November 2014 03:40, oren oren...@gmail.com wrote: How can I save a

Re: [Matplotlib-users] matplotlib save image as postscript, when xlabel is saved as text and not path

2014-11-03 Thread Paul Hobson
Can just go straight to PDF? What happens then? It might also be informative to explain why using LaTeX is undesirable in your situation. -p On Mon, Nov 3, 2014 at 11:52 AM, Oren oren...@gmail.com wrote: Thanks for the respond Paul, But It still the same... This is how it looks like when I

Re: [Matplotlib-users] Old-style/text figures

2014-11-03 Thread Andy Buckley
Hi again, I didn't see any on-list answer, but got an off-list suggestion to use an rc parameter to set a LaTeX preamble. I played around a little and thought I should report on what I found, especially since it seems that there is room for improvement here and I'd be interested to help. Here

[Matplotlib-users] Problem extending a custom colormap

2014-11-03 Thread Damien Irving
I often like to define my own colormaps using hex strings, e.g. hex_list = ['#FFF295', '#FFD555', '#FF850B', '#D55000', '#D5', '#550040', '#600080', '#80', '#D5', '#0B85FF', '#55AAFF', '#95CAFF'] However, when I pass them to contourf and try to extend the colorbar... plt.contourf(x,

Re: [Matplotlib-users] Problem extending a custom colormap

2014-11-03 Thread Eric Firing
On 2014/11/03, 2:19 PM, Damien Irving wrote: I often like to define my own colormaps using hex strings, e.g. hex_list = ['#FFF295', '#FFD555', '#FF850B', '#D55000', '#D5', '#550040','#600080', '#80', '#D5', '#0B85FF', '#55AAFF', '#95CAFF'] However, when I pass them to contourf and