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 wrote:
>
>
> On Sun, Nov 6, 2011 at 8:20 AM, Gousios George wrote:
>
>> Hello,
>> Is there a way?Like the title says?
>> I have a 2d list :
>> > [[ 0 1]
>> > [ 1 1]
>> > [
On Tue, Aug 16, 2011 at 12:22 AM, Benjamin Root wrote:
>
>
> On Monday, August 15, 2011, Ben Breslauer wrote:
> > Hi,
> >
> > Has anyone else noticed this behavior? For the devs, do you prefer a
> github bug to the SF list?
> >
> > Ben
>
>
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 wrote:
> I think that I have found the problem here. Line2D.draw() (and I presume
> other Artist subclasses) calls
>
> gc.se
27; Walker-Loud wrote:
> 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
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, in
nstead of
self._rgb = 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 wrote:
> Hi,
>
> I'm trying to fade some data, using alpha values, that I am plotting with
> Axes.plot(). I can recreate this pro
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), linewid