You can also do
x,y = zip(*pts)
If you don't feel like importing numpy.
Ben
On Sun, Nov 6, 2011 at 12:49 PM, Tony Yu tsy...@gmail.com wrote:
On Sun, Nov 6, 2011 at 8:20 AM, Gousios George gg...@windowslive.comwrote:
Hello,
Is there a way?Like the title says?
I have a 2d list :
[[ 0
On Tue, Aug 16, 2011 at 12:22 AM, Benjamin Root ben.r...@ou.edu wrote:
On Monday, August 15, 2011, Ben Breslauer bbresla...@gmail.com wrote:
Hi,
Has anyone else noticed this behavior? For the devs, do you prefer a
github bug to the SF list?
Ben
I have not personally observed
Hi,
Has anyone else noticed this behavior? For the devs, do you prefer a github
bug to the SF list?
Ben
On Mon, Jul 25, 2011 at 2:21 PM, Ben Breslauer bbresla...@gmail.com wrote:
I think that I have found the problem here. Line2D.draw() (and I presume
other Artist subclasses) calls
Hi Andre,
You should be able to set the size with the following:
params = {'length': 10}
axis = plt.axes().xaxis
axis.set_tick_params(which='major', **params)
You can also use 'minor' instead of 'major' to set the minor ticks. There
are a number of different valid values for the params dict,
walksl...@gmail.comwrote:
Hi Ben,
Would you expect this to work on Matplotlib 0.99.3?
I get the following error
AttributeError: 'XAxis' object has no attribute 'set_tick_params'
Thanks,
Andre
On Jul 28, 2011, at 12:18 PM, Ben Breslauer wrote:
Hi Andre,
You should be able to set
= colors.colorConverter.to_rgba(fg)
since that will make self._rgb a 3-tuple instead of a 4-tuple.
Ben
On Sat, Jul 23, 2011 at 3:13 PM, Ben Breslauer bbresla...@gmail.com wrote:
Hi,
I'm trying to fade some data, using alpha values, that I am plotting with
Axes.plot(). I can recreate this problem with 1 line
Hi,
I'm trying to fade some data, using alpha values, that I am plotting with
Axes.plot(). I can recreate this problem with 1 line of pylab.plot. If I
use
pylab.plot([1,2,3],[1,4,9], color=(1,0,0,.2), linewidth=7)
then I get the equivalent of
pylab.plot([1,2,3],[1,4,9], color=(1,0,0),