SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S






1
(1)
2
3
(10)
4
(17)
5
(7)
6
(21)
7
(15)
8
(6)
9
(7)
10
(8)
11
(6)
12
(11)
13
(11)
14
(13)
15
(4)
16
(5)
17
(8)
18
(8)
19
(15)
20
(3)
21
(10)
22
(5)
23
(7)
24
(8)
25
(29)
26
(26)
27
(7)
28
(2)
29
(3)
30
(3)






Showing 8 results of 8

Hi Ben,
I guess it's this:
commit 8c57e4fe4909815092af470f4a036c80b407382c
Merge: cf53d4c b6c5625
Author: Eric Firing <ef...@ha...>
Date: Mon Jul 9 15:25:16 2012 -0700
 Merge pull request #994 from efiring/fix_pcolorfast_quadmesh
 Fix bug in pcolorfast introduced by #901
cheers,
Chao
On Mon, Sep 10, 2012 at 4:30 PM, Phil Elson <pel...@gm...> wrote:
> Ben, on master scatter legends are broken. A pull request (I can't
> remember which, and github is down, possibly #1176) fixes this (obviously,
> the PR is marked as release critical for 1.2).
>
> I have confirmed, that even once fixed on master, the scatter legend
> handler does not take notice of the "numpoints" kwarg.
>
> Hope that helps clarify the matter,
>
> Regards,
>
> Phil
>
>
> On 10 September 2012 14:51, Benjamin Root <ben...@ou...> wrote:
>
>>
>>
>> On Mon, Sep 10, 2012 at 9:33 AM, Chao YUE <cha...@gm...> wrote:
>>
>>> Hi Ben,
>>>
>>> I think I installed this version by following the instructions on
>>> matplotlib website. But when I try to use git log, I get:
>>>
>>> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
>>> pwd
>>> /usr/local/lib/python2.7/dist-packages/matplotlib
>>>
>>> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
>>> git log
>>> fatal: Not a git repository (or any of the parent directories): .git
>>>
>>> I tried to have a look at __init__.py, it has:
>>>
>>> from __future__ import print_function
>>>
>>> __version__ = '1.2.x'
>>> __version__numpy__ = '1.4' # minimum required numpy version
>>>
>>> So it's the correct directory I am going. could you give some further
>>> instructions?
>>>
>>> Chao
>>>
>>>
>> Which directions? We have several for different kinds of installs. We
>> have not released v1.2.0 yet, so I was guessing you checked out mpl from
>> github. If that is the case, then you run "git log" from the source
>> directory, not the install directory.
>>
>> Ben
>>
>>
>>>
>>> On Mon, Sep 10, 2012 at 3:05 PM, Benjamin Root <ben...@ou...> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Sep 10, 2012 at 2:56 AM, Chao YUE <cha...@gm...> wrote:
>>>>
>>>>> Hi Ben,
>>>>>
>>>>> I tried the "numpoints" in legend function for scatter plot, in dev
>>>>> version and GTKAgg backend it works.
>>>>>
>>>>> In [3]: mat.__version__
>>>>> Out[3]: '1.2.x'
>>>>>
>>>>> In [4]: mat.get_backend()
>>>>> Out[4]: 'GTKAgg'
>>>>>
>>>>> Chao
>>>>>
>>>>>
>>>> Strange, when I tested it last night, I was using a build of mpl from
>>>> master of a couple weeks ago, and I saw three markers in the legend. Now,
>>>> I am trying it again with the latest master:
>>>> 1478a1be70b3077b71350cecaccb774f76a76656, and I now see *zero* markers.
>>>> Something is seriously broken.
>>>>
>>>> Can you tell me what commit (and the date for that commit) shows up at
>>>> top when you run "git log" in the mpl source directory?
>>>>
>>>> Ben Root
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> ***********************************************************************************
>>> Chao YUE
>>> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
>>> UMR 1572 CEA-CNRS-UVSQ
>>> Batiment 712 - Pe 119
>>> 91191 GIF Sur YVETTE Cedex
>>> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>>>
>>> ************************************************************************************
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
Ben, on master scatter legends are broken. A pull request (I can't remember
which, and github is down, possibly #1176) fixes this (obviously, the PR is
marked as release critical for 1.2).
I have confirmed, that even once fixed on master, the scatter legend
handler does not take notice of the "numpoints" kwarg.
Hope that helps clarify the matter,
Regards,
Phil
On 10 September 2012 14:51, Benjamin Root <ben...@ou...> wrote:
>
>
> On Mon, Sep 10, 2012 at 9:33 AM, Chao YUE <cha...@gm...> wrote:
>
>> Hi Ben,
>>
>> I think I installed this version by following the instructions on
>> matplotlib website. But when I try to use git log, I get:
>>
>> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
>> pwd
>> /usr/local/lib/python2.7/dist-packages/matplotlib
>>
>> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
>> git log
>> fatal: Not a git repository (or any of the parent directories): .git
>>
>> I tried to have a look at __init__.py, it has:
>>
>> from __future__ import print_function
>>
>> __version__ = '1.2.x'
>> __version__numpy__ = '1.4' # minimum required numpy version
>>
>> So it's the correct directory I am going. could you give some further
>> instructions?
>>
>> Chao
>>
>>
> Which directions? We have several for different kinds of installs. We
> have not released v1.2.0 yet, so I was guessing you checked out mpl from
> github. If that is the case, then you run "git log" from the source
> directory, not the install directory.
>
> Ben
>
>
>>
>> On Mon, Sep 10, 2012 at 3:05 PM, Benjamin Root <ben...@ou...> wrote:
>>
>>>
>>>
>>> On Mon, Sep 10, 2012 at 2:56 AM, Chao YUE <cha...@gm...> wrote:
>>>
>>>> Hi Ben,
>>>>
>>>> I tried the "numpoints" in legend function for scatter plot, in dev
>>>> version and GTKAgg backend it works.
>>>>
>>>> In [3]: mat.__version__
>>>> Out[3]: '1.2.x'
>>>>
>>>> In [4]: mat.get_backend()
>>>> Out[4]: 'GTKAgg'
>>>>
>>>> Chao
>>>>
>>>>
>>> Strange, when I tested it last night, I was using a build of mpl from
>>> master of a couple weeks ago, and I saw three markers in the legend. Now,
>>> I am trying it again with the latest master:
>>> 1478a1be70b3077b71350cecaccb774f76a76656, and I now see *zero* markers.
>>> Something is seriously broken.
>>>
>>> Can you tell me what commit (and the date for that commit) shows up at
>>> top when you run "git log" in the mpl source directory?
>>>
>>> Ben Root
>>>
>>>
>>
>>
>> --
>>
>> ***********************************************************************************
>> Chao YUE
>> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
>> UMR 1572 CEA-CNRS-UVSQ
>> Batiment 712 - Pe 119
>> 91191 GIF Sur YVETTE Cedex
>> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>>
>> ************************************************************************************
>>
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
On Mon, Sep 10, 2012 at 9:33 AM, Chao YUE <cha...@gm...> wrote:
> Hi Ben,
>
> I think I installed this version by following the instructions on
> matplotlib website. But when I try to use git log, I get:
>
> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
> pwd
> /usr/local/lib/python2.7/dist-packages/matplotlib
>
> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
> git log
> fatal: Not a git repository (or any of the parent directories): .git
>
> I tried to have a look at __init__.py, it has:
>
> from __future__ import print_function
>
> __version__ = '1.2.x'
> __version__numpy__ = '1.4' # minimum required numpy version
>
> So it's the correct directory I am going. could you give some further
> instructions?
>
> Chao
>
>
Which directions? We have several for different kinds of installs. We have
not released v1.2.0 yet, so I was guessing you checked out mpl from
github. If that is the case, then you run "git log" from the source
directory, not the install directory.
Ben
>
> On Mon, Sep 10, 2012 at 3:05 PM, Benjamin Root <ben...@ou...> wrote:
>
>>
>>
>> On Mon, Sep 10, 2012 at 2:56 AM, Chao YUE <cha...@gm...> wrote:
>>
>>> Hi Ben,
>>>
>>> I tried the "numpoints" in legend function for scatter plot, in dev
>>> version and GTKAgg backend it works.
>>>
>>> In [3]: mat.__version__
>>> Out[3]: '1.2.x'
>>>
>>> In [4]: mat.get_backend()
>>> Out[4]: 'GTKAgg'
>>>
>>> Chao
>>>
>>>
>> Strange, when I tested it last night, I was using a build of mpl from
>> master of a couple weeks ago, and I saw three markers in the legend. Now,
>> I am trying it again with the latest master:
>> 1478a1be70b3077b71350cecaccb774f76a76656, and I now see *zero* markers.
>> Something is seriously broken.
>>
>> Can you tell me what commit (and the date for that commit) shows up at
>> top when you run "git log" in the mpl source directory?
>>
>> Ben Root
>>
>>
>
>
> --
>
> ***********************************************************************************
> Chao YUE
> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
> UMR 1572 CEA-CNRS-UVSQ
> Batiment 712 - Pe 119
> 91191 GIF Sur YVETTE Cedex
> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>
> ************************************************************************************
>
>
Hi Ben,
I think I installed this version by following the instructions on
matplotlib website. But when I try to use git log, I get:
chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
pwd
/usr/local/lib/python2.7/dist-packages/matplotlib
chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
git log
fatal: Not a git repository (or any of the parent directories): .git
I tried to have a look at __init__.py, it has:
from __future__ import print_function
__version__ = '1.2.x'
__version__numpy__ = '1.4' # minimum required numpy version
So it's the correct directory I am going. could you give some further
instructions?
Chao
On Mon, Sep 10, 2012 at 3:05 PM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Mon, Sep 10, 2012 at 2:56 AM, Chao YUE <cha...@gm...> wrote:
>
>> Hi Ben,
>>
>> I tried the "numpoints" in legend function for scatter plot, in dev
>> version and GTKAgg backend it works.
>>
>> In [3]: mat.__version__
>> Out[3]: '1.2.x'
>>
>> In [4]: mat.get_backend()
>> Out[4]: 'GTKAgg'
>>
>> Chao
>>
>>
> Strange, when I tested it last night, I was using a build of mpl from
> master of a couple weeks ago, and I saw three markers in the legend. Now,
> I am trying it again with the latest master:
> 1478a1be70b3077b71350cecaccb774f76a76656, and I now see *zero* markers.
> Something is seriously broken.
>
> Can you tell me what commit (and the date for that commit) shows up at top
> when you run "git log" in the mpl source directory?
>
> Ben Root
>
>
-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
On Mon, Sep 10, 2012 at 2:56 AM, Chao YUE <cha...@gm...> wrote:
> Hi Ben,
>
> I tried the "numpoints" in legend function for scatter plot, in dev
> version and GTKAgg backend it works.
>
> In [3]: mat.__version__
> Out[3]: '1.2.x'
>
> In [4]: mat.get_backend()
> Out[4]: 'GTKAgg'
>
> Chao
>
>
Strange, when I tested it last night, I was using a build of mpl from
master of a couple weeks ago, and I saw three markers in the legend. Now,
I am trying it again with the latest master:
1478a1be70b3077b71350cecaccb774f76a76656, and I now see *zero* markers.
Something is seriously broken.
Can you tell me what commit (and the date for that commit) shows up at top
when you run "git log" in the mpl source directory?
Ben Root
From: Chao Y. <cha...@gm...> - 2012年09月10日 06:59:16
Dear Ben,
I tried again with dev version and GTKAgg backend it works.
In [3]: mat.__version__
Out[3]: '1.2.x'
In [4]: mat.get_backend()
Out[4]: 'GTKAgg'
Chao
On Sun, Sep 9, 2012 at 9:32 PM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Tue, Apr 10, 2012 at 12:22 PM, wiswit <cha...@gm...> wrote:
>
>> Dear all, I use matplotlib 1.1.0. import matplotlib.pyplot as plt
>> plt.plot(np.arange(10),'ro',mec='none') when I use plt.show(), there is
>> only blank frame with axis not no points. but plt.plot(np.arange(10),'ro')
>> will give good plot with read filled circles and black edges.
>> plt.scatter(np.arange(10),np.arange(10),c='r',marker='o',edgecolor='none')
>> is working fine. but I really think plt.plot is a very good and easy
>> function if you don't make complex scatter points. and the circles look
>> much nicer than that produced by plt.scatter (thought I don't know why as
>> they use the same symble....) does anyone else have found the same ? thanks
>> to all, Chao
>>
>
>
> This works for me with GTKAgg backend. If this is still a problem for
> you, which backend are you using?
>
> Ben Root
>
-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
Hi Ben,
I tried the "numpoints" in legend function for scatter plot, in dev version
and GTKAgg backend it works.
In [3]: mat.__version__
Out[3]: '1.2.x'
In [4]: mat.get_backend()
Out[4]: 'GTKAgg'
Chao
On Sun, Sep 9, 2012 at 9:28 PM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Tue, Apr 10, 2012 at 12:43 PM, wiswit <cha...@gm...> wrote:
>
>>
>> Dear all,
>>
>> I found that the numpoints in legend function for scatter plot is not
>> working?
>>
>> import matplotlib as mat
>> import matplotlib.pyplot as plt
>> In [59]: mat.__version__
>> Out[59]: '1.1.0'
>>
>> #ordinary plot working
>> fig=plt.figure()
>> ax=fig.add_subplot(111)
>> ax.plot(np.arange(10),'ro',label='tst')
>> ax.legend(numpoints=1)
>> plt.show()
>>
>> #but not scatter plot
>> fig=plt.figure()
>> ax=fig.add_subplot(111)
>> ax.scatter(np.arange(10),np.arange(10),marker='o',label='tst')
>> ax.legend(numpoints=1)
>> plt.show()
>>
>> cheers,
>>
>> chao
>>
>>
> Confirmed... this is still broken.
>
> Ben Root
>
-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
From: Joe K. <jof...@gm...> - 2012年09月10日 00:26:51
Announcement - mplstereonet v0.2
=========================
mplstereonet provides lower-hemisphere equal-area and equal-angle
stereonets for matplotlib.
Download
--------------
Available for download at: http://pypi.python.org/pypi/mplstereonet/0.2
See the github page for more information and development versions:
https://github.com/joferkington/mplstereonet
About
---------
Stereonets are a type of plot commonly used in the geosciences for
visualizing and analyzing orientation data.
Orientations of linear and planar features are plotted as the intersection
of the feature with a hemisphere. (Therefore, linear features plot as
points and planar features plot as lines.)
mplstereonet provides plotting of planes (measured as strikes and dips),
poles to planes, and lineations (measured as rakes along a plane or as
plunges and bearings).
Additionally, mplstereonet provides orientation density contouring using a
variety of standard methods (e.g. "Kamb" contouring, etc).
Getting Started
----------------------
The easiest way to get started is to have a look at the examples:
https://github.com/joferkington/mplstereonet/tree/master/examples
Additionally, the readme has an overview and various examples:
https://github.com/joferkington/mplstereonet/blob/master/README.rst
Changes
-------------
New features in version 0.2 include:
- Density contouring of orientation data using a variety of methods
- Equal-angle as well as equal-area stereonets
- A variety of parsing utilities
- Geometric analysis utilities (e.g. plane intersections)
Thank you all very much!
-Joe Kington

Showing 8 results of 8

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /