Re: [matplotlib-devel] RFE: shortcut for [xyz|]label and [xyz]lim?

2014-02-05 Thread Joe Kington
On Wed, Feb 5, 2014 at 3:46 PM, Benjamin Root wrote: > IIRC, you can use plt.setp() for this purpose: > http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.setp > > Essentially, anything that would come after the "set_" part of an object's > method can be a keyword. So, I think this would

Re: [matplotlib-devel] RFE: shortcut for [xyz|]label and [xyz]lim?

2014-02-05 Thread Benjamin Root
IIRC, you can use plt.setp() for this purpose: http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.setp Essentially, anything that would come after the "set_" part of an object's method can be a keyword. So, I think this would work: plt.setp(ax, xlim=[-0.2, 0.9], ylim=[-100,100], zlim=[-0.

[matplotlib-devel] RFE: shortcut for [xyz|]label and [xyz]lim?

2014-02-05 Thread Arun Persaud
Hi Hope this is the right place to post a request for enhancement. I often create a bunch of relatively basic plots using matplotlib and the commands to set the labels and limits take up more space than the actual plotting commands (figure, plot, show), so I was wondering if there is a shorter wa