Re: [Matplotlib-users] problem with a umlaut

2013-05-15 Thread Michael Droettboom
I've created an issue in the tracker for this: https://github.com/matplotlib/matplotlib/issues/2016 Mike On 05/15/2013 06:26 PM, Christoph Gohlke wrote: On 5/15/2013 1:55 PM, Ojala Janne wrote: Which backend are you using? I can't reproduce. Does https://github.com/matplotlib/matplotlib

Re: [Matplotlib-users] missing ticks on inverted log axis

2013-05-15 Thread gaspra
Paul Hobson-2 wrote > This works fine on my system: > In [3]: np.version.full_version > > Out[3]: '1.7.1' > > > In [5]: matplotlib.__version__ > > Out[5]: '1.2.1' > > > Not sure what the issue could be. > > -p Hi Paul, Thanks for the reply. I am using np version 1.7.1 and matplotlib versi

Re: [Matplotlib-users] missing ticks on inverted log axis

2013-05-15 Thread Paul Hobson
On Wed, May 15, 2013 at 3:48 PM, gaspra wrote: > Hi, I am having troubles to correctly make a figure with inverted log axis. > This is what I am doing: > > import numpy as np > import matplotlib.pyplot as plt > > y=np.linspace(-90,90,20) > z=np.arange(1,1.e4, 200) > > c=y.reshape(20,1)*z.reshape(

[Matplotlib-users] missing ticks on inverted log axis

2013-05-15 Thread gaspra
Hi, I am having troubles to correctly make a figure with inverted log axis. This is what I am doing: import numpy as np import matplotlib.pyplot as plt y=np.linspace(-90,90,20) z=np.arange(1,1.e4, 200) c=y.reshape(20,1)*z.reshape(1,len(z)) fig,ax=plt.subplots() plt.pcolor(y,z,c.transpose()) ax.

Re: [Matplotlib-users] problem with a umlaut

2013-05-15 Thread Christoph Gohlke
On 5/15/2013 1:55 PM, Ojala Janne wrote: Which backend are you using? I can't reproduce. Does https://github.com/matplotlib/matplotlib/blob/master/examples/text_labels_and_annotations/unicode_demo.py

Re: [Matplotlib-users] problem with a umlaut

2013-05-15 Thread Ojala Janne
>> Which backend are you using? I can't reproduce. Does >>https://github.com/matplotlib/matplotlib/blob/master/examples/text_labels_and_annotations/unicode_demo.py >> work for you? The b

Re: [Matplotlib-users] problem with a umlaut

2013-05-15 Thread Michael Droettboom
Which backend are you using? I can't reproduce. Does https://github.com/matplotlib/matplotlib/blob/master/examples/text_labels_and_annotations/unicode_demo.py work for you? Mike On 05/15/2013 06:40 AM, Ojala Janne wrote: I have a weird problem with Unicode strings. I am using windows 7 with

Re: [Matplotlib-users] problem with a umlaut

2013-05-15 Thread Ojala Janne
>> I use "text.usetex : True" in my matplotlibrc. It works if I force it to tex, its still a nasty bug of somekind. What I would like to know what changes in the processing when you have both those characters present? Does it fallback to tex use at some point? If so why does it not fallback for ä

[Matplotlib-users] text with gridspec

2013-05-15 Thread Claus Haslauer
Hi, I am trying to produce a set of plots using grispec. There should be an images shown in each of the axes (using imshow) except in one of the axes, where I want to show/plot some text. However, the text seems to be too long to be displayed in one line. Is there a way to print it in something

Re: [Matplotlib-users] problem with a umlaut

2013-05-15 Thread Alexander Eberspaecher
On Wed, 15 May 2013 10:40:47 + Ojala Janne wrote: ['ä' Umlaut] > >pythonw -u "bugtest.py" > >Exit code: -1073740777 My installation (Python 2.6.6, MPL 1.2.1) is a bit more helpful with error messages: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 269: ordinal

[Matplotlib-users] problem with a umlaut

2013-05-15 Thread Ojala Janne
I have a weird problem with Unicode strings. I am using windows 7 with Python 2.7.2 64 bit, and matplotlib 1.2.1 (package from Unofficial Windows Binaries at http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib ). When i run: -*- coding: utf-8 -*- import matplotlib.pyplot as plt fig