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) |
2
(32) |
3
(26) |
4
(29) |
5
(41) |
6
(2) |
|
7
(1) |
8
(13) |
9
(15) |
10
(23) |
11
(23) |
12
(16) |
13
(6) |
|
14
(15) |
15
(4) |
16
(18) |
17
(28) |
18
(17) |
19
(11) |
20
(6) |
|
21
(2) |
22
(4) |
23
(1) |
24
|
25
|
26
(1) |
27
(2) |
|
28
(2) |
29
(3) |
30
(10) |
31
(2) |
|
|
|
|
From: Eric F. <ef...@ha...> - 2012-10-02 06:05:11
|
On 2012/10/01 7:28 PM, Mic wrote: > Hi, > > I have got the following error with the following code: > /$ python mpl.py/ > /Traceback (most recent call last):/ > / File > "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py", > line 398, in expose_event/ > / self._render_figure(self._pixmap, w, h)/ > / File > "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py", > line 75, in _render_figure/ > / FigureCanvasAgg.draw(self)/ > / File > "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py", > line 416, in draw/ > / self.renderer = self.get_renderer()/ > / File > "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py", > line 435, in get_renderer/ > / self.renderer = RendererAgg(w, h, self.figure.dpi)/ > / File > "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py", > line 72, in __init__/ > / self._renderer = _RendererAgg(int(width), int(height), dpi, > debug=False)/ > /ValueError: width and height must each be below 32768/ > /The program 'mpl.py' received an X Window System error./ > /This probably reflects a bug in the program./ > /The error was 'BadAlloc (insufficient resources for operation)'./ > / (Details: serial 486 error_code 11 request_code 53 minor_code 0)/ > / (Note to programmers: normally, X errors are reported asynchronously;/ > / that is, you will receive the error a while after causing it./ > / To debug your program, run it with the --sync command line/ > / option to change this behavior. You can then get a meaningful/ > / backtrace from your debugger if you break on the gdk_x_error() > function.)/ > > With the following code: > /import random / > /import matplotlib.pyplot as plt / > // > /coverages = [random.randint(1,10)*2] * 4605 / > /contig_names = ['AAB0008r'] * len(coverages) / > /# Set the figure size / > /#fig = plt.figure(1, [20, 2]) / > /fig = plt.figure(figsize=(int(len(coverages)*0.1), 4)) / > // > /ax = fig.add_subplot(111) / > // > /# Set the x-axis limit / > /#ax.set_xlim(-1,100) / > /ax.set_xlim(0,len(coverages)) / > /#ax.set_ylim(0,3) / > /ax.yaxis.grid(True, linestyle='-', which='major', color='grey', > alpha=0.5) / > // > /ind = range(len(coverages)) / > /rects = ax.bar(ind, coverages, width=0.1, align='center', > color='thistle') / > /ax.set_xticks(ind) / > /#ax.set_xticklabels(contig_names)/ > /#ax.tick_params(axis='both', which='major', labelsize=10)/ > /#ax.tick_params(axis='both', which='minor', labelsize=8)/ > / > / > / > / > /#function to auto-rotate the x axis labels/ > /fig.autofmt_xdate()/ > /plt.setp(ax.get_xticklabels(), fontsize=8, rotation='vertical')/ > /plt.show()/ > > How is it possible to get big charts? It looks like you are trying to make a figure that is 460 inches by 4 inches. How do you expect to display or print it? I think displaying it is out of the question, so you would need to use a non-interactive backend. I don't know whether ps or pdf can handle those sorts of dimensions. Eric > > Thank you in advance. > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Mic <mic...@gm...> - 2012-10-02 05:29:01
|
Hi,
I have got the following error with the following code:
*$ python mpl.py*
*Traceback (most recent call last):*
* File
"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py",
line 398, in expose_event*
* self._render_figure(self._pixmap, w, h)*
* File
"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py",
line 75, in _render_figure*
* FigureCanvasAgg.draw(self)*
* File
"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py",
line 416, in draw*
* self.renderer = self.get_renderer()*
* File
"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py",
line 435, in get_renderer*
* self.renderer = RendererAgg(w, h, self.figure.dpi)*
* File
"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py",
line 72, in __init__*
* self._renderer = _RendererAgg(int(width), int(height), dpi,
debug=False)*
*ValueError: width and height must each be below 32768*
*The program 'mpl.py' received an X Window System error.*
*This probably reflects a bug in the program.*
*The error was 'BadAlloc (insufficient resources for operation)'.*
* (Details: serial 486 error_code 11 request_code 53 minor_code 0)*
* (Note to programmers: normally, X errors are reported asynchronously;*
* that is, you will receive the error a while after causing it.*
* To debug your program, run it with the --sync command line*
* option to change this behavior. You can then get a meaningful*
* backtrace from your debugger if you break on the gdk_x_error()
function.)*
With the following code:
*import random
*
*import matplotlib.pyplot as plt
*
*
*
*coverages = [random.randint(1,10)*2] * 4605
*
*contig_names = ['AAB0008r'] * len(coverages)
*
*# Set the figure size
*
*#fig = plt.figure(1, [20, 2])
*
*fig = plt.figure(figsize=(int(len(coverages)*0.1), 4))
*
*
*
*ax = fig.add_subplot(111)
*
*
*
*# Set the x-axis limit
*
*#ax.set_xlim(-1,100)
*
*ax.set_xlim(0,len(coverages))
*
*#ax.set_ylim(0,3)
*
*ax.yaxis.grid(True, linestyle='-', which='major', color='grey', alpha=0.5)
*
*
*
*ind = range(len(coverages))
*
*rects = ax.bar(ind, coverages, width=0.1, align='center', color='thistle')
*
*ax.set_xticks(ind)
*
*#ax.set_xticklabels(contig_names)*
*#ax.tick_params(axis='both', which='major', labelsize=10)*
*#ax.tick_params(axis='both', which='minor', labelsize=8)*
*
*
*
*
*#function to auto-rotate the x axis labels*
*fig.autofmt_xdate()*
*plt.setp(ax.get_xticklabels(), fontsize=8, rotation='vertical')*
*plt.show()*
How is it possible to get big charts?
Thank you in advance.
|
|
From: Christoph G. <cg...@uc...> - 2012-10-02 00:24:16
|
On 9/24/2012 5:50 PM, Christoph Gohlke wrote:
> On 9/24/2012 3:32 PM, David Honcik wrote:
>> I've run into a large memory leak using Matplotlib with PySide and the
>> Qt4 back end. I'm using :
>> Python 3.2
>> Numpy 1.6.2
>> Pyside 1.1.1 (qt474)
>> Matplotlib 1.2 (first the Capetown Group port to Python 3, then 1.2 RC2)
>> on Windows XP 32 bit
>> I've tried using the Python 2.7 branch of all of the above and don't see
>> the problem. I don't see the problem with the Tk back end. I don't see
>> the problem with the Qt4 back end and PyQt4. Only with the above
>> mentioned versions and using the Qt4 back end with PySide.
>> The following script will reproduce the problem :
>> --------------------
>> import matplotlib
>> matplotlib.use('Qt4Agg')
>> matplotlib.rcParams['backend.qt4']='PySide'
>> import pylab
>> arrayX = []
>> arrayY = []
>> for nIndex in range(0, 100):
>> arrayX.append(nIndex)
>> arrayY.append(nIndex)
>> Figure = matplotlib.pyplot.figure(1)
>> Axes = Figure.add_axes([ 0.05, 0.05, 0.95, 0.95])
>> Axes.plot(arrayX,
>> arrayY,
>> color = "blue",
>> marker = "o",
>> markersize = 5.0)
>> Axes.set_xlim(arrayX[0], arrayX[len(arrayX) - 1])
>> Axes.set_ylim(arrayY[0], arrayY[len(arrayY) - 1])
>> matplotlib.pyplot.show()
>> --------------------
>> I run the above, grab the lower right sizing handle on the plot window
>> and start resizing the window. Watching the python process in task
>> manager, each resize leaks a noticeable amount of memory. A few minutes
>> of this will get process memory up to ~2.5 GB. At that point it crashes.
>> I'm new here, am I in the right place?
>>
>
> I can reproduce this exactly, also with pyside 1.1.2 and an empty plot.
> Looks like QtGui.QImage is leaking.
>
> import matplotlib
> matplotlib.use('Qt4Agg')
> matplotlib.rcParams['backend.qt4']='PySide'
> from matplotlib import pyplot
> pyplot.plot()
> pyplot.show()
>
> --
> Christoph
>
>
As a workaround, until PySide is fixed, use the attached patch, which
forcibly decreases the reference count of the string buffer after use.
Christoph
|
|
From: Rita <rmo...@gm...> - 2012-10-01 23:21:44
|
Figured it out. The real trick is to set the PKG_CONFIG_PATH properly. No need for LD_LIBRARY_PATH On Sun, Sep 30, 2012 at 9:52 AM, Rita <rmo...@gm...> wrote: > Nelly, > I would like to compile libpng into matplotlib if possible, ie static. > Seems like thats not possible and I would like to would LD_LIBRARY_PATH as > much as possible. I much prefer -Wl, rpath or LD_PRELOAD. > > Jouni, > for the pkg-config can I use the one with my OS, /usr/bin/pkg-config? and > also libpng comes with its own variation of pkg-config (not named that). > How can I include that? do I set PKG_CONFIG_PATH ? > > > > > > On Sun, Sep 30, 2012 at 3:30 AM, Nelle Varoquaux < > nel...@gm...> wrote: > >> >> On 30 Sep 2012 06:11, "Jouni K. Seppänen" <jk...@ik...> wrote: >> > >> > Rita <rmo...@gm...> writes: >> > >> > > i have a micro distribution setup. I am building python, numpy, scipy >> from >> > > scratch. I am building matplotlib from scratch also. >> > > >> > > I am doing a simple, /apps/bin/python setup.py build. >> > > >> > > I also compiled libpng and cairo in a location. >> >> When you build a shared library yourself, you always need to set the >> variable LD_LIBRARY_PATH. This is independant from the compilation. At >> runtime, the program merely tries to load the library if it has not been >> loaded previously. >> >> Usually, to avoid setting manually the path to the library, one adds this >> to its bashrc/zshrc. >> >> I hope this helps. >> Cheers, >> N. >> >> > >> > Have you set up pkg-config for your build of libpng? If you can't do >> > that for some reason, you can edit basedirlist in setup.cfg. >> > >> > -- >> > Jouni K. Seppänen >> > http://www.iki.fi/jks >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Everyone hates slow websites. So do we. >> > Make your web apps faster with AppDynamics >> > Download AppDynamics Lite for free today: >> > http://ad.doubleclick.net/clk;258768047;13503038;j? >> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> > _______________________________________________ >> > Matplotlib-users mailing list >> > Mat...@li... >> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://ad.doubleclick.net/clk;258768047;13503038;j? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > > -- > --- Get your facts first, then you can distort them as you please.-- > -- --- Get your facts first, then you can distort them as you please.-- |
|
From: Michael A. <kmi...@gm...> - 2012-10-01 23:20:51
|
Hi! I see that the function ax.imshow takes the parameter 'imlim' but in the source (status: EPD 7.3-2) it is not being used? So what is it for? Best regards, Michael |