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
|
2
(13) |
3
(5) |
4
(5) |
5
(21) |
6
(10) |
7
(9) |
|
8
(4) |
9
(11) |
10
(9) |
11
(11) |
12
(25) |
13
(5) |
14
(2) |
|
15
(5) |
16
(8) |
17
(16) |
18
(11) |
19
(15) |
20
(5) |
21
(8) |
|
22
(4) |
23
(24) |
24
(9) |
25
(14) |
26
(5) |
27
(28) |
28
(2) |
|
29
(13) |
30
(14) |
31
(11) |
|
|
|
|
|
From: Craig t. D. <des...@gm...> - 2012-01-11 19:16:20
|
Hi,
I'm drawing a histogram and I would like to place a text box within the
axes that shows the number of events. I like the way I can pass
"loc='best'" to pyplot.legend() and it automatically does its best to avoid
my data. Is there any way to replicate this for a simple call to
pyplot.text(), like so:
ax.text(0.05, 0.95, 'Entries: ' + len(myData),
transform=ax.transAxes, fontsize=14, verticalalignment='top',
bbox=dict(boxstyle='square', facecolor='white'))
Thanks in advance!
--craig
|
|
From: Eric F. <ef...@ha...> - 2012-01-11 18:59:37
|
On 01/11/2012 06:05 AM, David Perlman wrote: > When I try to turn on the grid for just one axis, seemingly in perfect accordance with the documentation at > http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.grid > > it seems like there is a problem. I am able to make a graph, but trying to turn on the grid for just one axis causes an error. > > My commands are pasted below. > > Am I doing this wrong? I am doing the best I can to follow the documentation exactly. > > Thanks for any help! David, The problem is that the axis kwarg was added to grid only 9 months ago, and evidently you are running an older version of mpl. If you can upgrade to 1.1.0, grid() will work as advertised. This is a common problem: we post only the latest documentation, instead of having a posted documentation version for each release version. To work around this, use ipython to display the docstring (or even the source code) for the particular function or method you want to use. Eric > > > import matplotlib > matplotlib.use('MacOSX') > import matplotlib.pyplot as plt > fig=plt.figure() > ax=fig.add_subplot(111) > ax.plot([1,2,3]) > ax.set_xlabel('Hi there') > ax.grid(True, axis='x') > > > bombayduck:~$ python > Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import matplotlib >>>> matplotlib.use('MacOSX') >>>> import matplotlib.pyplot as plt >>>> fig=plt.figure() >>>> ax=fig.add_subplot(111) >>>> ax.plot([1,2,3]) > [<matplotlib.lines.Line2D object at 0x1a27e30>] >>>> ax.set_xlabel('Hi there') > <matplotlib.text.Text object at 0x1a58030> >>>> ax.grid(True, axis='x') > Traceback (most recent call last): > File "<stdin>", line 1, in<module> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axes.py", line 1823, in grid > self.xaxis.grid(b, **kwargs) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axis.py", line 965, in grid > if len(kwargs): artist.setp(tick.gridline,**kwargs) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", line 1169, in setp > func = getattr(o,funcName) > AttributeError: 'Line2D' object has no attribute 'set_axis' > > -dave---------------------------------------------------------------------- > A neuroscientist is at the video arcade, when someone makes him a $1000 bet > on Pac-Man. He smiles, gets out his screwdriver and takes apart the Pac-Man > game. Everyone says "What are you doing?" The neuroscientist says "Well, > since we all know that Pac-Man is based on electric signals traveling > through these circuits, obviously I can understand it better than the other > guy by going straight to the source!" > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Christoph G. <cg...@uc...> - 2012-01-11 17:38:02
|
On 1/11/2012 7:37 AM, Vítor Carvalho wrote:
> Hi,
>
> Someone can help me to configure the python to create uma image graph
> with the matplotlib or can sugest other way to create one graph in
> this version of python?
>
> I need use the Python 2.5.*
> I instaled the Python 2.5.4, the "numpy-1.3.0.win32-py2.5", the
> "matplotlib-1.1.0.win32-py2.5" and the "basemap-1.0.2.win32-py2.5".
>
>
> ####### This is the code that I try to run #########################
>
> #set up matplotlib and the figure
> import matplotlib.pyplot as plt
> plt.figure
>
> #create data
> x_series = [0,1,2,3,4,5]
> y_series_1 = [x**2 for x in x_series]
> y_series_2 = [x**3 for x in x_series]
>
> #plot data
> plt.plot(x_series, y_series_1, label="x^2")
> plt.plot(x_series, y_series_2, label="x^3")
>
> #add in labels and title
> plt.xlabel("Small X Interval")
> plt.ylabel("Calculated Data")
> plt.title("Our Fantastic Graph")
>
> #add limits to the x and y axis
> plt.xlim(0, 6)
> plt.ylim(-5, 80)
>
> #create legend
> plt.legend(loc="upper left")
>
> #save figure to png
> plt.savefig("example.png")
>
>
> ####### The error that I received ##########################
>
> Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
> (Intel)] on win32
> Type "copyright", "credits" or "license()" for more information.
>
> ****************************************************************
> Personal firewall software may warn about the connection IDLE
> makes to its subprocess using this computer's internal loopback
> interface. This connection is not visible on any external
> interface and no data is sent to or received from the Internet.
> ****************************************************************
>
> IDLE 1.2.4 ==== No Subprocess ====
>>>>
> Traceback (most recent call last):
> File "C:\Projeto\Scripts\teste.py", line 2, in<module>
> import matplotlib.pyplot as plt
> File "C:\Python25\lib\site-packages\matplotlib\pyplot.py", line 23,
> in<module>
> from matplotlib.figure import Figure, figaspect
> File "C:\Python25\lib\site-packages\matplotlib\figure.py", line 16,
> in<module>
> import artist
> File "C:\Python25\lib\site-packages\matplotlib\artist.py", line 6, in<module>
> from transforms import Bbox, IdentityTransform, TransformedBbox,
> TransformedPath
> File "C:\Python25\lib\site-packages\matplotlib\transforms.py", line
> 34, in<module>
> from matplotlib._path import affine_transform
> ImportError: DLL load failed: The specified module could not be found.
>>>>
>
>
>
>
>
> Best regards,
> Vítor Carvalho
>
The C++ runtime library msvcp71.dll is probably missing on your system.
Try install "vc71crt-3052.4.win32-py2.5.exe" from
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#vc.crt>.
Christoph
|
|
From: Jakob G. <ga...@il...> - 2012-01-11 16:43:42
|
Hi, you can create such clouds here -> http://www.wordle.net/ or have a look at the wordle script created by this guy: http://www.loria.fr/~rougier/coding/misc.html Both are not related to matplotlib, but the results are very good! br Jakob On 01/11/2012 05:19 PM, Reckoner wrote: > I've looked through the gallery, but I haven't found an example of a tag cloud. > > Can one be built using matplotlib? For clarity, something like this is > what I'm referring to: > > http://upload.wikimedia.org/wikipedia/en/thumb/a/a5/TagCloudCloud.png/800px-TagCloudCloud.png > > Thanks! > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Reckoner <rec...@gm...> - 2012-01-11 16:19:29
|
I've looked through the gallery, but I haven't found an example of a tag cloud. Can one be built using matplotlib? For clarity, something like this is what I'm referring to: http://upload.wikimedia.org/wikipedia/en/thumb/a/a5/TagCloudCloud.png/800px-TagCloudCloud.png Thanks! |
|
From: David P. <dpe...@wi...> - 2012-01-11 16:05:58
|
When I try to turn on the grid for just one axis, seemingly in perfect accordance with the documentation at http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.grid it seems like there is a problem. I am able to make a graph, but trying to turn on the grid for just one axis causes an error. My commands are pasted below. Am I doing this wrong? I am doing the best I can to follow the documentation exactly. Thanks for any help! import matplotlib matplotlib.use('MacOSX') import matplotlib.pyplot as plt fig=plt.figure() ax=fig.add_subplot(111) ax.plot([1,2,3]) ax.set_xlabel('Hi there') ax.grid(True, axis='x') bombayduck:~$ python Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib >>> matplotlib.use('MacOSX') >>> import matplotlib.pyplot as plt >>> fig=plt.figure() >>> ax=fig.add_subplot(111) >>> ax.plot([1,2,3]) [<matplotlib.lines.Line2D object at 0x1a27e30>] >>> ax.set_xlabel('Hi there') <matplotlib.text.Text object at 0x1a58030> >>> ax.grid(True, axis='x') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axes.py", line 1823, in grid self.xaxis.grid(b, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axis.py", line 965, in grid if len(kwargs): artist.setp(tick.gridline,**kwargs) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", line 1169, in setp func = getattr(o,funcName) AttributeError: 'Line2D' object has no attribute 'set_axis' -dave---------------------------------------------------------------------- A neuroscientist is at the video arcade, when someone makes him a $1000 bet on Pac-Man. He smiles, gets out his screwdriver and takes apart the Pac-Man game. Everyone says "What are you doing?" The neuroscientist says "Well, since we all know that Pac-Man is based on electric signals traveling through these circuits, obviously I can understand it better than the other guy by going straight to the source!" |
|
From: Vítor C. <vjc...@gm...> - 2012-01-11 15:37:18
|
Hi,
Someone can help me to configure the python to create uma image graph
with the matplotlib or can sugest other way to create one graph in
this version of python?
I need use the Python 2.5.*
I instaled the Python 2.5.4, the "numpy-1.3.0.win32-py2.5", the
"matplotlib-1.1.0.win32-py2.5" and the "basemap-1.0.2.win32-py2.5".
####### This is the code that I try to run #########################
#set up matplotlib and the figure
import matplotlib.pyplot as plt
plt.figure
#create data
x_series = [0,1,2,3,4,5]
y_series_1 = [x**2 for x in x_series]
y_series_2 = [x**3 for x in x_series]
#plot data
plt.plot(x_series, y_series_1, label="x^2")
plt.plot(x_series, y_series_2, label="x^3")
#add in labels and title
plt.xlabel("Small X Interval")
plt.ylabel("Calculated Data")
plt.title("Our Fantastic Graph")
#add limits to the x and y axis
plt.xlim(0, 6)
plt.ylim(-5, 80)
#create legend
plt.legend(loc="upper left")
#save figure to png
plt.savefig("example.png")
####### The error that I received ##########################
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.2.4 ==== No Subprocess ====
>>>
Traceback (most recent call last):
File "C:\Projeto\Scripts\teste.py", line 2, in <module>
import matplotlib.pyplot as plt
File "C:\Python25\lib\site-packages\matplotlib\pyplot.py", line 23,
in <module>
from matplotlib.figure import Figure, figaspect
File "C:\Python25\lib\site-packages\matplotlib\figure.py", line 16,
in <module>
import artist
File "C:\Python25\lib\site-packages\matplotlib\artist.py", line 6, in <module>
from transforms import Bbox, IdentityTransform, TransformedBbox,
TransformedPath
File "C:\Python25\lib\site-packages\matplotlib\transforms.py", line
34, in <module>
from matplotlib._path import affine_transform
ImportError: DLL load failed: The specified module could not be found.
>>>
Best regards,
Vítor Carvalho
|
|
From: Petro <x....@gm...> - 2012-01-11 14:40:13
|
Hi all. Can I set a figure to appear on my screen in the same way as it is saved in png file? Thanks. -- Petro |
|
From: Scott S. <sco...@gm...> - 2012-01-11 14:31:16
|
On 11 January 2012 15:13, Petro <x....@gm...> wrote: > I want to make a plot with two xticks. Lets say at -3051 and 2011 > position. How can I do it? One way to do it: import numpy as np import matplotlib.pyplot as plt x = np.linspace(-3100, 2025, num=50) y = np.random.random(50) plt.plot(x, y) plt.xticks([-3051, 2011]) plt.show() Cheers, Scott |
|
From: Petro <x....@gm...> - 2012-01-11 13:14:21
|
Hi all. I want to make a plot with two xticks. Lets say at -3051 and 2011 position. How can I do it? Thanks. Petro. |
|
From: klo uo <kl...@gm...> - 2012-01-11 10:11:57
|
Matplotlib 1.1.0 on Ubuntu 11.04
If MPL backand is set to TkAgg, drawing window dialog appears without plot
content, and then after closing it, this error is thrown:
========================================
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1413, in __call__
return self.func(*args)
File
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py",
line 236, in resize
self.show()
File
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py",
line 240, in draw
tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
File
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/tkagg.py", line
19, in blit
tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode,
id(bbox_array))
TclError
========================================
Is this known, or maybe something is wrong at my side?
|