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
(19) |
2
(3) |
3
(12) |
4
(2) |
|
5
|
6
(9) |
7
(27) |
8
(39) |
9
(17) |
10
(22) |
11
(5) |
|
12
(1) |
13
(11) |
14
(12) |
15
(14) |
16
(29) |
17
(32) |
18
(8) |
|
19
(3) |
20
(10) |
21
(27) |
22
(11) |
23
(8) |
24
(4) |
25
(4) |
|
26
(3) |
27
(18) |
28
(7) |
29
(29) |
30
(13) |
31
(4) |
|
|
From: Derek B. <db...@ya...> - 2006-03-23 22:09:33
|
If I rotate the xticks labels on this scatter plot the axes label is pushed off the figure. Do I
need to make the figuresize bigger or is matplotlib calculating it incorrectly?
from pylab import *
prediction_experiment = [(0.0001, 0.0001),(2, 250.797999999999998), (313.11000000000001,
25.797999999999998), (4499.1999999999998, 25000.0), (168830.0, 440000.0), (143090.0,
78571.399999999994), (34811.0, 78571.399999999994), (161240.0, 70967.699999999997)]
def roundUpLogDecade(x):
""" Round up to the nearest logarithmic decade"""
return math.ceil(x)
def roundDownLogDecade(x):
""" Round up to the nearest logarithmic decade"""
return math.floor(x)
def integer(x, pos):
if x >= 1:
return '%i' % (int(x))
else:
return '%.4f' % x
auc_cutoff = 50
ax = subplot(111)
# Axis scale must be set prior to declaring the Formatter
# If it is not the Formatter will use the default log labels for ticks.
ax.set_xscale('log')
ax.set_yscale('log')
formatter = FuncFormatter(integer)
ax.xaxis.set_major_formatter(formatter)
ax.yaxis.set_major_formatter(formatter)
tp_prediction_experiment = [[x[0], x[1]] for x in prediction_experiment if x[1] < auc_cutoff]
tn_prediction_experiment = [[x[0], x[1]] for x in prediction_experiment if x[1] > auc_cutoff]
ax.scatter( [x[0] for x in tn_prediction_experiment], [x[1] for x in tn_prediction_experiment],
s=3, c='r', marker='s', faceted=False)
ax.scatter( [x[0] for x in tp_prediction_experiment], [x[1] for x in tp_prediction_experiment],
s=3, c='b', marker='s', faceted=False)
# Must add 1 to allow the last decades label to be shown
ax.set_xlim(10**roundDownLogDecade(log10(min([x[0] for x in prediction_experiment]))),
10**roundUpLogDecade(log10(max([x[0] for x in prediction_experiment])))+1)
ax.set_ylim(10**roundDownLogDecade(log10(min([x[1] for x in prediction_experiment]))),
10**roundUpLogDecade(log10(max([x[1] for x in prediction_experiment])))+1)
grid(True)
xlabel(r"Prediction", fontsize = 12)
ylabel(r"Experimental IC50 [nM]", fontsize = 12)
xlocs, xlabels = xticks()
setp(xlabels, rotation=45)
ylocs, ylabels = yticks()
setp(ylabels, rotation=45)
show()
Thanks,
Derek Basch
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: Eric F. <ef...@ha...> - 2006-03-23 19:25:46
|
Michael, Thanks, this is now fixed in svn. Eric O'Keefe, Michael wrote: > Line 733 in ticker.py in matplotlib 0.87.2 has a potential divide by zero error: > > var = dv/max(abs(vmin),abs(vmax)) > > I've triggered it with the following: > > import pylab > import numpy as np > t = np.array([0.,1.,2.,3.],float) > a = np.array([0.,0.,0.,0.],float) > pylab.plot(t,a) > > The error is: > > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 2018, in plot > ret = gca().plot(*args, **kwargs) > File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 2790, in plot > self.autoscale_view() > File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 817, in autoscal > e_view > self.set_ylim(locator.autoscale()) > File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 798, in autosc > ale > return take(self.bin_boundaries(dmin, dmax), [0,-1]) > File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 768, in bin_bo > undaries > scale, offset = scale_range(vmin, vmax, nbins) > File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 733, in scale_ > range > var = dv/max(abs(vmin), abs(vmax)) > ZeroDivisionError: float division > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Glen W. M. <Gle...@sw...> - 2006-03-23 19:17:14
|
I'm using 0.86.2 (Debian 0.86.2-3). With the following line in
matplotlibrc,
font.sans-serif : Courier 10 Pitch, Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucida, Bitstream Vera Sans, Arial, Helvetica, sans-serif
when I run
python embedding_in_wx.py
python embedding_in_wx2.py
python embedding_in_wx3.py
python embedding_in_gtk.py
I see the Courier font used. But when I run
python embedding_in_gtk3.py
python embedding_in_qt.py
python embedding_in_tk.py
python embedding_in_tk2.py
python embedding_in_wx4.py
I see the Lucida Grande font used. Any ideas?
Thank you,
Glen Mabey
|
|
From: Robert H. <he...@ta...> - 2006-03-23 18:58:20
|
You may double check to see that MPL is finding the correct versions
of Freetype. There is a version in Apple's X11 that does not work
with MPL -- make sure you are not picking up this one by mistake.
Otherwise, the build method you described has worked for me. It
seems like you are doing all the right things.
-Rob.
On Mar 22, 2006, at 12:17 PM, Tom Loredo wrote:
>
> Hi folks,
>
> I've just installed MacPy 2.4.1, the latest numpy & scipy, and
> mpl-0.87.2 on a colleague's Panther PowerBook. numpy & scipy
> installed fine and passed all tests. For mpl, we installed
> zlib from source, and initially installed Freetype2 and libpng
> via the i-Installer. mpl built and installed fine, but gave
> a bus error when trying to plot ("import matplotlib" would
> work fine, but "import pylab" would give the error).
>
> The .matplotlib/matplotlibrc file we're using does have TkAgg
> and numpy specified, and we've verified that Tkinter is
> working via a "Hello World" test script.
>
> Suspecting one of the libraries, we then installed Freetype2
> and libpng from source. We deleted all the mpl stuff in
> site-packages and the mpl build directory, and built and
> installed mpl again from scratch. We still get a bus error
> from pylab. I am stumped as to what to try next. I've
> copied verbose output below; I hope someone can offer us
> some clues.
>
> Thanks,
> Tom Loredo
>
> $ pythonw simple_plot.py --verbose-debug-annoying
> matplotlib data path
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
> site-packages/matplotlib/mpl-data
> $HOME=/Users/bill
> CONFIGDIR=/Users/bill/.matplotlib
> loaded rc file /Users/bill/.matplotlib/matplotlibrc
> matplotlib version 0.87.2
> verbose.level debug-annoying
> interactive is False
> platform is darwin
> loaded modules: ['pylab', '_bisect', '__future__', 'copy_reg',
> 'sre_compile', 'distutils', 'itertools', '_sre', '__main__', 'site',
> '__builtin__', 'datetime', 'matplotlib.re', 'matplotlib.tempfile',
> 'encodings', 'pytz.datetime', 'shutil', 'distutils.string',
> 'dateutil', 'matplotlib.datetime', 'posixpath', '_random',
> 'tempfile', 'errno', 'matplotlib.warnings', 'binascii',
> 'encodings.codecs', 'sre_constants', 're', 'matplotlib.md5',
> 'os.path', 'pytz.sys', '_codecs', 'distutils.sysconfig',
> 'encodings.exceptions', 'pytz.sets', 'math', 'fcntl', 'stat',
> 'zipimport', 'string', 'warnings', 'encodings.types', 'UserDict',
> 'encodings.ascii', 'matplotlib.sys', 'matplotlib', 'distutils.os',
> 'sys', 'pytz.tzinfo', 'pytz', 'matplotlib.__future__', 'codecs',
> 'distutils.re', 'matplotlib.pytz', 'types', 'md5',
> 'matplotlib.dateutil', 'matplotlib.os', 'thread', 'sre', 'bisect',
> 'matplotlib.distutils', 'signal', 'distutils.errors', 'random',
> 'linecache', 'matplotlib.shutil', 'posix', 'encodings.aliases',
> 'sets', 'exceptions', 'sre_parse', 'pytz.bisect', 'distutils.sys',
> 'os', 'strop']
> numerix numpy 0.9.6
> Bus error
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the
> live webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-----
Rob Hetland, Assistant Professor
Dept of Oceanography, Texas A&M University
p: 979-458-0096, f: 979-845-6331
e: he...@ta..., w: http://pong.tamu.edu
|
|
From: Charlie M. <cw...@gm...> - 2006-03-23 15:08:15
|
This came up on the dev list, and I believe is fixed in svn now. Thanks, On 3/23/06, O'Keefe, Michael <Mic...@nr...> wrote: > Line 733 in ticker.py in matplotlib 0.87.2 has a potential divide by zero= error: > > var =3D dv/max(abs(vmin),abs(vmax)) > > I've triggered it with the following: > > import pylab > import numpy as np > t =3D np.array([0.,1.,2.,3.],float) > a =3D np.array([0.,0.,0.,0.],float) > pylab.plot(t,a) > > The error is: > > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 2018, in= plot > ret =3D gca().plot(*args, **kwargs) > File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 2790, in = plot > self.autoscale_view() > File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 817, in a= utoscal > e_view > self.set_ylim(locator.autoscale()) > File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 798, in= autosc > ale > return take(self.bin_boundaries(dmin, dmax), [0,-1]) > File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 768, in= bin_bo > undaries > scale, offset =3D scale_range(vmin, vmax, nbins) > File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 733, in= scale_ > range > var =3D dv/max(abs(vmin), abs(vmax)) > ZeroDivisionError: float division > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: O'Keefe, M. <Mic...@nr...> - 2006-03-23 14:32:42
|
Line 733 in ticker.py in matplotlib 0.87.2 has a potential divide by =
zero error:
var =3D dv/max(abs(vmin),abs(vmax))
I've triggered it with the following:
import pylab
import numpy as np
t =3D np.array([0.,1.,2.,3.],float)
a =3D np.array([0.,0.,0.,0.],float)
pylab.plot(t,a)
The error is:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 2018, =
in plot
ret =3D gca().plot(*args, **kwargs)
File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 2790, in =
plot
self.autoscale_view()
File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 817, in =
autoscal
e_view
self.set_ylim(locator.autoscale())
File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 798, =
in autosc
ale
return take(self.bin_boundaries(dmin, dmax), [0,-1])
File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 768, =
in bin_bo
undaries
scale, offset =3D scale_range(vmin, vmax, nbins)
File "c:\python24\lib\site-packages\matplotlib\ticker.py", line 733, =
in scale_
range
var =3D dv/max(abs(vmin), abs(vmax))
ZeroDivisionError: float division
|
|
From: Charlie M. <cw...@gm...> - 2006-03-23 13:27:20
|
On 3/22/06, lan...@qw... <lan...@qw...> wrote: > Does matplotlib work with AquaTerm as a backend? Recently an AquaTerm backend was donated to matplotlib. I haven't had a chance to test or commit it to svn yet though. I am attaching it for anyone interested. - Charlie |
|
From: Gary R. <gr...@bi...> - 2006-03-23 11:39:15
|
Hi John, I've found the source of this figimage problem. In _backend_agg.cpp RendererAgg::draw_image is expecting 4 arguments and is being passed 5 by the FigureImage draw method in image.py The offending line is: renderer.draw_image(self.ox, self.oy, im, self.origin, self.figure.bbox) Changing this to renderer.draw_image(self.ox, self.oy, im, self.figure.bbox) solved the problem for me. I checked and found that the RendererAgg draw_image() virtual method has 5 arguments, which seems to be the source of the problem, so either this needs changing or the backend code does. _draw_image() in backend_agg.py makes the call with 3 arguments, so this needs fixing too. The draw_image() method in backend_emf.py has a stub override with 5 arguments, so this may need changing too, although it isn't causing harm yet. I'm not sure all of these are real problems because I didn't try too hard to understand how the backends work. regards, Gary R. John Hunter wrote: >>>>>> "gruben@bigpond" == gruben@bigpond net au <gr...@bi...> writes: > > gruben@bigpond> It's possible I've done something stupid, but > gruben@bigpond> imshow works, so I don't think so. I suspect this > gruben@bigpond> may have been broken for a while. I haven't tried > gruben@bigpond> 0.87.2 (because I can't be bothered with the new > gruben@bigpond> numpy/scipy/matplotlib version interdependency). > > matplotlib does not require numpy or scipy to build or run. You can > simply set 'numerix : Numeric' or 'numerix : numarray' in your rc file > and still use the same old libs you want. > > So feel free to update to the latest version if you want. I will look > into the figimage problem later. > > JDH |