[Matplotlib-users] 1-10^-1 Custom Log Ticker

2011-09-07 Thread shaunh1
Hi, As the subject shows, I am trying to create a custom ticker (class??) that has pretty formatted log tick. Instead of just 10^-5, 10^-5, etc, is something more like [1-10^-2, 1-10^-3, 1-10^-4] etc I am histogram'n a set of data that is very close to 1, basically ranging from 0.990 and

[Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Matthew Koichi Grimes
How can I make a 3D plot without showing the axes? When plotting a 3d plot, Matplotlib not only draws the x, y, and z axes, it also draws light gray grids on the x-y, y-z, and x-z planes. I would like to draw a free-floating 3D graph, with none of these elements. My matplotlib.__version__ is

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Benjamin Root
On Wed, Sep 7, 2011 at 1:34 PM, Matthew Koichi Grimes m...@cs.nyu.eduwrote: How can I make a 3D plot without showing the axes? When plotting a 3d plot, Matplotlib not only draws the x, y, and z axes, it also draws light gray grids on the x-y, y-z, and x-z planes. I would like to draw a

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Benjamin Root
On Wed, Sep 7, 2011 at 2:14 PM, Joe Kington jking...@wisc.edu wrote: This no longer seems to work with matplotlib 1.0.1. As a quick example: import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax = fig.add_subplot(111,

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Ethan Gutmann
I see the same thing here (from within ipython -pylab), and moving the ax.set_axis_off() immediately after the add_subplot call doesn't change anything. Interacting with the plot doesn't change anything either. Ethan On Sep 7, 2011, at 1:21 PM, Benjamin Root wrote: On Wed, Sep 7, 2011

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Matthew Koichi Grimes
I tried Joe's code, with the call to ax.set_axis_off() moved to right after add_subplot(), as Ben suggested. The axes are still not disappearing, nor do they disappear when I interact with it (by rotating the plot). -- Matt On Wed, Sep 7, 2011 at 3:21 PM, Benjamin Root ben.r...@ou.edu wrote:

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Joe Kington
Interestingly, things work perfectly with the latest build from guithub. Presumably the bug was fixed already? On Wed, Sep 7, 2011 at 2:40 PM, Matthew Koichi Grimes m...@cs.nyu.eduwrote: I tried Joe's code, with the call to ax.set_axis_off() moved to right after add_subplot(), as Ben

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Benjamin Root
On Wed, Sep 7, 2011 at 2:43 PM, Joe Kington jking...@wisc.edu wrote: Interestingly, things work perfectly with the latest build from guithub. Presumably the bug was fixed already? Uhm, sure! I totally intended for that nasty bug to be fixed for the upcoming release... _ Seriously, though, I

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Matthew Koichi Grimes
Thanks Ben, I for one would be very interested in any workarounds you might find that don't require an upgrade from 1.0.1. -- Matt On Wed, Sep 7, 2011 at 4:04 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Sep 7, 2011 at 2:43 PM, Joe Kington jking...@wisc.edu wrote: Interestingly, things

Re: [Matplotlib-users] how to hide axes in a 3D plot

2011-09-07 Thread Benjamin Root
On Wed, Sep 7, 2011 at 3:13 PM, Matthew Koichi Grimes m...@cs.nyu.eduwrote: Thanks Ben, I for one would be very interested in any workarounds you might find that don't require an upgrade from 1.0.1. -- Matt Ok, looks like the hiding of the 3d axes was a feature added after the v1.0 release

Re: [Matplotlib-users] Figure clipping incorrectly ; specify whether clips horizontally or vertically

2011-09-07 Thread Jae-Joon Lee
On Wed, Sep 7, 2011 at 12:09 AM, Jeffrey Spencer jeffspenc...@gmail.com wrote: Can I specify horizontal or vertical clipping?? Or what is the best way to get around this? my understanding is that the clipping is done with a closed path. so I don't think one can do such thing as horizontal