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

2013-05-21 Thread Michael Droettboom
On 05/20/2013 06:42 PM, gaspra wrote: Michael Droettboom-3 wrote I have created https://github.com/matplotlib/matplotlib/issues/2025 to track this. Hi Michael, thanks. I am somewhat convinced the problem is related to matplotlib 1.3.x, not the Tk library. I tried on Linux that uses Tk8.5 and

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

2013-05-21 Thread Michael Droettboom
I have opened an issue (with a fix) here: https://github.com/matplotlib/matplotlib/pull/2036 Gregorio: Could you please confirm that the patch there addresses your original problem? Mike On 05/21/2013 08:54 AM, Michael Droettboom wrote: On 05/20/2013 06:42 PM, gaspra wrote: Michael

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

2013-05-21 Thread gaspra
Michael Droettboom-3 wrote I have opened an issue (with a fix) here: https://github.com/matplotlib/matplotlib/pull/2036 Awesome, this solved the problem I encountered. Many thanks, Yuan -- View this message in context:

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

2013-05-21 Thread gaspra
Michael Droettboom-3 wrote Michael Droettboom-3 wrote The issue I filed was related to the build problem you reported -- that building matplotlib with a MacPorts python is trying to use the system (framework) Tcl/Tk. That's completely independent of the other problem related to ticks,

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

2013-05-20 Thread Michael Droettboom
I have created https://github.com/matplotlib/matplotlib/issues/2025 to track this. On 05/19/2013 05:18 PM, gaspra wrote: Michael Droettboom-3 wrote If you use the macports version of Python, this shouldn't be a problem. I think the problem is (perhaps) that you're trying to use the system

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

2013-05-20 Thread gaspra
Michael Droettboom-3 wrote I have created https://github.com/matplotlib/matplotlib/issues/2025 to track this. Hi Michael, thanks. I am somewhat convinced the problem is related to matplotlib 1.3.x, not the Tk library. I tried on Linux that uses Tk8.5 and I got the missing ticks for inverted

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

2013-05-19 Thread gaspra
Michael Droettboom-3 wrote If you use the macports version of Python, this shouldn't be a problem. I think the problem is (perhaps) that you're trying to use the system Python with packages from MacPorts? Yes, I can confirm the system Python doesn't work with TkAgg and matplotlib 1.3.x.

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

2013-05-18 Thread gaspra
I find the issue came from the matplotlib backend. The problem is gone when using TkAgg backend. However, TkAgg doesn't work with matplotlib 1.3.x, which has some conflict of Tk dynamic library due to different Tk version, i.e., macports uses Tk8.6 and Mac OSX 10.8.3 uses Tk8.5. I really need

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

2013-05-18 Thread Michael Droettboom
On 05/18/2013 04:17 AM, gaspra wrote: I find the issue came from the matplotlib backend. The problem is gone when using TkAgg backend. However, TkAgg doesn't work with matplotlib 1.3.x, which has some conflict of Tk dynamic library due to different Tk version, i.e., macports uses Tk8.6 and Mac

[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())

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 yes2...@gmail.com 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)

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 version 1.3.x. In