Re: [Matplotlib-users] Artifacts when saving as PDF

2015-04-12 Thread Jouni K Seppänen
Thanks for the report, I turned it into a github issue: https://github.com/matplotlib/matplotlib/issues/4331 -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with t

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-19 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: >> I think there's clearly a bug in that review request. Does >> _backend_gdk.c not get compiled in tests? > > I have a proposed fix in branch fix-gdk-strides of > > https://github.com/jkseppan/matplotlib.git > > but I don&

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Thomas Caswell > writes: > >> What OS and what branch are you using? >> >> Can you roll back to one commit before the most recent merge? >> https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy >> api. If th

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Jouni K . Seppänen
problem. I think there's clearly a bug in that review request. Does _backend_gdk.c not get compiled in tests? -- Jouni K. Seppänen http://www.iki.fi/jks -- Comprehensive Server Monitoring with Site24x7. Monitor

Re: [Matplotlib-users] Millions of data points saved to pdf

2014-05-02 Thread Jouni K . Seppänen
improved > performance for keeping them in vector format? Like others have recommended, rendering huge clouds of single points is a problematic task. I think it's an entirely valid thing to ask for, but it's not likely that there will be a perfect solution, and some other way of visua

Re: [Matplotlib-users] Millions of data points saved to pdf

2014-05-01 Thread Jouni K . Seppänen
y with the ',' marker style). If that helps, it's evidence that we need to revisit the condition for using XObjects for markers. -- Jouni K. Seppänen http://www.iki.fi/jks -- "Accelerate Dev Cycles w

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Jouni K . Seppänen
PL 1.1.1: 172.56kb Ubuntu 12.10 > MPL 1.2.1: 475.9kb, Ubuntu 13.04 Yes, it would be interesting to know what the plotting commands are. Just as a guess, since all the sizes are a few hundred kilobytes, it could be a difference in e.g. font embedding - many TrueType fonts are of comparable size. -- J

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-18 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Gökhan Sever > writes: > >> Another point I noticed is setting linewidth to 0 (in fill_between >> function) isn't working as expected when figure is saved as a PDF >> file. > > A workaround is to add edgecolor='None'

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-18 Thread Jouni K . Seppänen
Gökhan Sever writes: > Another point I noticed is setting linewidth to 0 (in fill_between > function) isn't working as expected when figure is saved as a PDF > file. A workaround is to add edgecolor='None' to the fill_between call. -- Jouni K. Seppän

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-18 Thread Jouni K . Seppänen
nnest possible line on that device. That's why the pdf backend attempts to not draw a line if the width is set to zero, but somehow it's not working in this case. I'd call it a bug. -- Jouni K. Seppänen http://www.iki.fi/jks ---

Re: [Matplotlib-users] static linking

2012-09-29 Thread Jouni K . Seppänen
kg-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

Re: [Matplotlib-users] Font compatibility issue with Adobe Illustrator and MPL PDF's

2012-09-15 Thread Jouni K . Seppänen
x or is matplotlib's built-in formula rendering sufficient? In the latter case TrueType versions of the various fonts are embedded, which just might work better than Type 1. -- Jouni K. Seppänen http://www.iki.fi/jks ---

Re: [Matplotlib-users] Accelerating PDF saved plots

2012-07-13 Thread Jouni K . Seppänen
ten in pure Python and > easy to understand). > > Best, > -Michiel. -- Jouni K. Seppänen http://www.iki.fi/jks -- Live Security Virtual Conference Exclusive live event will cover all the ways today's securi

Re: [Matplotlib-users] Accelerating PDF saved plots

2012-07-07 Thread Jouni K . Seppänen
That would be me. Can you outline what parts you think can be removed? I'm currently travelling and don't always have an Internet connection, or much time available, so turnaround can be slow. -- Jouni K. Sep

Re: [Matplotlib-users] TeX + QT4Agg = Broken (Mac OS X)

2012-05-28 Thread Jouni K . Seppänen
ntinue -else: -raise - - # With multiple text objects per figure (e.g. tick labels) we may end # up reading the same tfm and vf files many times, so we implement a # simple cache. TODO: is this worth making persiste

Re: [Matplotlib-users] TeX + QT4Agg = Broken (Mac OS X)

2012-05-28 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Felix Patzelt writes: > >> I just ran into the following Bug: When choosing Qt4Agg as my backend >> in the matplotlibrc, using TeX will break matplotlib. > > Could you run your test script with --verbose-debug, redirect the output > to a

Re: [Matplotlib-users] TeX + QT4Agg = Broken (Mac OS X)

2012-05-28 Thread Jouni K . Seppänen
e file)? -- Jouni K. Seppänen http://www.iki.fi/jks -- 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. Discus

Re: [Matplotlib-users] corrupt pdf of histogram

2012-04-13 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > I have a suggested fix for this at > https://github.com/matplotlib/matplotlib/pull/817 This is now merged into the v1.1.x branch, from which the fix should propagate to the upcoming release. -- Jouni K. Seppänen http://www.iki.

Re: [Matplotlib-users] corrupt pdf of histogram

2012-04-09 Thread Jouni K . Seppänen
sepath into moveto X0,Y0' (Y0' is Y0 rewritten to be close to the area) moveto X1,Y0' lineto X1,Y1 lineto X0,Y1 closepath and the closepath operation apparently goes to the first moveto in Agg, but to the latest moveto in pdf and svg. I have a suggested fix fo

Re: [Matplotlib-users] corrupt pdf of histogram

2012-03-28 Thread Jouni K . Seppänen
sanders writes: > If keywords fill=False and log=True, > > then after saving, the png looks fine but the histogram in the pdf is > mixed up. Confirmed, thanks for the report. I filed this at https://github.com/matplotlib/matplotlib/issues/804 -- Jouni K. Seppänen http://ww

Re: [Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-08 Thread Jouni K . Seppänen
? Your test case doesn't produce an error on a recent-ish master. -- Jouni K. Seppänen http://www.iki.fi/jks -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization -

Re: [Matplotlib-users] pdf Output Failing

2012-02-24 Thread Jouni K . Seppänen
rtable editing TeX configuration files, number 3 is the easiest workaround. -- Jouni K. Seppänen http://www.iki.fi/jks -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualizat

Re: [Matplotlib-users] Making copies of figures and selectively writing them to a multipage PDF

2011-10-08 Thread Jouni K . Seppänen
PdfPages('output.pdf') for figure in figures: canvas = FigureCanvasPdf(figure) figure.savefig(pdf, format="pdf") pdf.close() -------- -- Jouni K. Seppänen http://www.iki.fi/jks -

Re: [Matplotlib-users] Problems compiling matplotlib - png_info_def

2011-09-21 Thread Jouni K . Seppänen
lude this fix. -- Jouni K. Seppänen http://www.iki.fi/jks -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent

Re: [Matplotlib-users] Details regarding TeX interpreter for different backends

2011-08-26 Thread Jouni K . Seppänen
this is relatively easy, since we can piggyback on the pdftex.map configuration file, which conveniently points to font files that can be embedded in PDF. -- Jouni K. Seppänen http://www.iki.fi/jks -- EMC VNX: the wo

Re: [Matplotlib-users] IOError: [Errno 4] Interrupted system call (Qt4 backend)

2011-08-21 Thread Jouni K . Seppänen
Tony Yu writes: > IOError: [Errno 4] Interrupted system call Sounds like http://bugs.python.org/issue1068268, which is supposed to have been fixed. Which version of Python are you running? -- Jouni K. Seppänen http://www.iki.fi/

Re: [Matplotlib-users] Error with PDF output with usetex

2011-08-21 Thread Jouni K . Seppänen
7; + % (texname, psname), 'debug') +return +elif len(encodings) == 1: +encoding, = encodings +else: +encoding = None + eff = effects.split() effects = {} try: -- Jouni K. Seppänen http://

Re: [Matplotlib-users] Problem generating pdf file with LaTeX fonts

2011-03-13 Thread Jouni K . Seppänen
;. > So again sorry for messing this up. I would like to thank you very much for > your help. No problem, and good that you got it sorted out! -- Jouni K. Seppänen http://www.iki.fi/jks -- Colocation vs. Manage

Re: [Matplotlib-users] Help in solving a segfault problem?

2011-03-13 Thread Jouni K . Seppänen
ons and (hoping it still crashes) inspect the local variables in these frames in gdb. Or maybe make the functions print out their arguments and any other relevant locals. -- Jouni K. Seppänen http://www.iki.fi/jks --

Re: [Matplotlib-users] Problem generating pdf file with LaTeX fonts

2011-03-12 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Set verbose to debug-annoying and catch the output in a file; there will > be lots of it, so please email it to me off-list. Got it, thanks. Unfortunately I have no idea what's going on. The debug information indicates that the PsfontsMap._register func

Re: [Matplotlib-users] Problem generating pdf file with LaTeX fonts

2011-03-12 Thread Jouni K . Seppänen
t://github.com/jkseppan/matplotlib.git to add my repository as a remote. -- Jouni K. Seppänen http://www.iki.fi/jks -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your orga

Re: [Matplotlib-users] Problem generating pdf file with LaTeX fonts

2011-03-12 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Pål Gunnar Ellingsen writes: > >> I know there was a post on the mail liste a couple of days ago ( Bug >> in `dviread.py'), but I'm not sure if this is the same error, which it >> shouldn't be as I'm using the latest

Re: [Matplotlib-users] bins and histograms

2011-03-10 Thread Jouni K . Seppänen
to plot is [0.5, 0.3] > but if I do > > plt.hist(values.values()) The hist function not only plots the histogram bars but computes them from the data. Use bar when you already have the coordinates you want to plot. -- Jouni K.

Re: [Matplotlib-users] Problem generating pdf file with LaTeX fonts

2011-03-08 Thread Jouni K . Seppänen
/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map on your system. -- Jouni K. Seppänen http://www.iki.fi/jks -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview

Re: [Matplotlib-users] cannot print out .eps figures

2011-03-02 Thread Jouni K . Seppänen
but I think it used to only work if you print to a PostScript printer. Does pdf work better? -- Jouni K. Seppänen http://www.iki.fi/jks -- Free Software Download: Index, Search & Analyze Logs and other IT data in Rea

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-27 Thread Jouni K . Seppänen
omp.tex.pdftex/4913/focus=4914 This is very likely a bug in TeX Live, or whatever software caused that line to be added to the pdftex.map file. -- Jouni K. Seppänen http://www.iki.fi/jks -- Free Software Download: Index

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
encodings + else: +encoding = None + eff = effects.split() effects = {} try: -- Jouni K. Seppänen http://www.iki.fi/jks -- The modern datacenter depends on network connectivity t

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
Jouni Seppänen writes: > I filed this in the bug tracker: > https://sourceforge.net/tracker/?func=detail&aid=3175113&group_id=80706&atid=560720 I installed TeX Live 2010 on my Mac in order to test this, but mysteriously, the pdftex.map file does not have a line for pbkdo8y. The closest match is

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
n you send me the pdftex.map file off-list? Thanks for the bug report, -- Jouni K. Seppänen http://www.iki.fi/jks -- The modern datacenter depends on network connectivity to access resources and provide services. The best pr

Re: [Matplotlib-users] Latex text rendering

2010-11-24 Thread Jouni K . Seppänen
David Pine writes: > "name 'xpdf' is not defined" > > params = {'backend': 'Agg', ... > 'ps.usedistiller' : xpdf, Put xpdf in quotes: 'xpdf' not xpdf. In the matplotlibrc file you don't need quotes there,

Re: [Matplotlib-users] user group video

2010-10-13 Thread Jouni K . Seppänen
matplotlib.general/13648 -- Jouni K. Seppänen http://www.iki.fi/jks -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Jouni K . Seppänen
the build dependencies for a package are, and then install only a subset? -- Jouni K. Seppänen http://www.iki.fi/jks -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,

Re: [Matplotlib-users] unicode minus sign glyph missing with serif fonts in macosx backend

2010-10-04 Thread Jouni K . Seppänen
probably because I don't have it installed via the usual OS X way, and the MacOSX backend only uses fonts that it can find via CTFontCreateWithName or ATSFontFindFromPostScriptName, depending on the OS X version it's compiled for. Do you see these fonts in Font Book? -- Jouni K. S

Re: [Matplotlib-users] unicode minus sign glyph missing with serif fonts in macosx backend

2010-10-04 Thread Jouni K . Seppänen
to find out the PID of the process and trace it with dtruss: sudo dtruss -p 29611 |& grep Fonts Here 29611 is the PID. When you plot something, you should see the process access some files, e.g. open("/Library/Fonts/Times New Roman.ttf\0", 0x0, 0x0) = 12 0 --

Re: [Matplotlib-users] unicode minus sign glyph missing with serif fonts in macosx backend

2010-10-04 Thread Jouni K . Seppänen
X 10.6. I'm using Python 2.6.6 installed from the python.org > binary distribution. FWIW, I can't reproduce this on OS X 10.6.4, system Python 2.6.1, self-compiled trunk matplotlib, tried Vera and Times New Roman. -- J

Re: [Matplotlib-users] WebP support

2010-10-04 Thread Jouni K . Seppänen
Michael Droettboom writes: > On 10/02/2010 01:39 PM, Jouni K. Seppänen wrote: >> Benjamin Root writes: >> >> >>> And yet, we still allow for saving to jpegs. >>> >> Wow, I didn't know. Last time I tried that I got a traceback, and &g

Re: [Matplotlib-users] WebP support

2010-10-02 Thread Jouni K . Seppänen
guess there are some circumstances in which this would make sense. Would supporting WebP require new library dependencies? -- Jouni K. Seppänen http://www.iki.fi/jks -- Start uncovering the many advantages of virtual

Re: [Matplotlib-users] WebP support

2010-10-02 Thread Jouni K . Seppänen
"Nils Wagner" writes: > just curious - is the WebP format supported by matplotlib No. It seems to be a method for lossy compression of photographs and therefore not likely to be useful for line drawings - or what did you have in mind? -- Jouni K. Seppänen http://w

Re: [Matplotlib-users] legend and bbox_to_anchor, and draggable()

2010-09-25 Thread Jouni K . Seppänen
of location specifier ("upper right", "lower center", etc) will always hit that exact place, but perhaps naturally that makes it difficult to move the box around. -- Jouni K. Seppänen http://www.iki.fi/jks -

Re: [Matplotlib-users] "asynchronous" plots?

2010-09-25 Thread Jouni K . Seppänen
arate process via a remote procedure call interface. I don't think the project has been continued since, so it might not be compatible with current matplotlib, but it may be a useful starting point: http://www.billbaxter.com/projects/ezplot/ -- Jouni K. Seppän

Re: [Matplotlib-users] convert figure from color to BW/grayscale

2010-09-20 Thread Jouni K . Seppänen
option only ever made sense for pretty simple line drawings. -- Jouni K. Seppänen http://www.iki.fi/jks -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployme

Re: [Matplotlib-users] Scale legend box border, dashed and dotted lines when the figure size is changed

2010-07-10 Thread Jouni K . Seppänen
nk followed by the number of points of whitespace. It defaults to (6,6) for the '--' linestyle (found in the dashd dictionary of backend_bases.py). > a.legend() Change this to lg = a.legend() fr = lg.get_frame() fr.set_lw(0.2) -- Jouni K. Seppänen http://www.iki.fi/jks -

Re: [Matplotlib-users] savefig eps error

2010-05-29 Thread Jouni K . Seppänen
3//2w/ +AABHqP//ej8AAD6z//+FPwAANb7//48/AAAsyf//lz8AACPU//+ePwAAGt///6M/AAAR6v//pj8A +AAj1//+nPwAA/w==""" + +verts = np.fromstring(data.decode('base64'), dtype=' -- Jouni K. Seppänen http://www.iki.fi/jks --

Re: [Matplotlib-users] matplotlib import problem

2010-05-05 Thread Jouni K . Seppänen
file named socket.py in your current working directory that is inadvertently getting imported by urllib.py. -- Jouni K. Seppänen http://www.iki.fi/jks -- ___ Matplotlib-users mai

Re: [Matplotlib-users] Possible bug with contour, alpha blending and vector output

2010-01-30 Thread Jouni K . Seppänen
attributes (e.g. alphaFace and alphaStroke). (What to do with the frontend's single alpha attribute?) By the way, I have never really understood why rgbFace is given separately from the GraphicsContext. Is this just an evolutionary remnant or is there a deepe

Re: [Matplotlib-users] Problem generating postscript

2009-12-31 Thread Jouni K . Seppänen
the error message must have changed between runs, since your first post showed a Ghostscript-specific message. -- Jouni K. Seppänen http://www.iki.fi/jks -- This SF.Net email is sponsored by the Verizon Developer Communit

Re: [Matplotlib-users] Plotting line with sharp peaks

2009-12-15 Thread Jouni K . Seppänen
cently. Try setting path.simplify to False in the matplotlibrc file. -- Jouni K. Seppänen http://www.iki.fi/jks -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net

Re: [Matplotlib-users] bluemarble is too dark

2009-12-14 Thread Jouni K . Seppänen
gh of course it will not be any kind of true-color image either. -- Jouni K. Seppänen http://www.iki.fi/jks -- Return on Information: Google Enterprise Search pays you back

Re: [Matplotlib-users] usetex=True and savefig(eps-file)

2009-12-03 Thread Jouni K . Seppänen
so it should just look in subdirectories of the temporary directory, but perhaps it somehow goes awry. Do you have some setting that causes temporary files to end up in the root directory? -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] usetex=True and savefig(eps-file)

2009-12-02 Thread Jouni K . Seppänen
cls wants to input size10.clo, causing a new round of errors: > ./root/size10.clo.tex: Permission denied > ./root/size10.clo: Permission denied (etc) Have you set any TeX-related environment variables or edited any configuration files? What does "kpsepath t

Re: [Matplotlib-users] Links in pdf

2009-11-30 Thread Jouni K . Seppänen
d look similar, but I think for multimedia we need a richer API. PDF has support for embedding sound files in various formats since version 1.2, and (very complicated looking) support for general multimedia since version 1.5. -- Jouni K. Seppänen http://

Re: [Matplotlib-users] Links in pdf

2009-11-28 Thread Jouni K . Seppänen
yperlink be exactly some subplot, but perhaps you could use e.g. speaker icons as link anchors and place them in suitable locations. -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - F

Re: [Matplotlib-users] metadata

2009-11-13 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Marius Jan Klein writes: > >> I want to edit the metadata of pdf- or png-files when creating one of >> these files. I do not want to use for example Pypdf because then >> Python must read the file first before it can be edited. > > Con

Re: [Matplotlib-users] metadata

2009-11-13 Thread Jouni K . Seppänen
at least the simplest form of metadata could be supported pretty easily (the document information dictionary - title, author, subject, keywords, creator, producer, creation date, modification date). What sort of API do you have in mind? -- Jouni K. Seppänen http://www.i

Re: [Matplotlib-users] matplotlib with Qt4 backend

2009-11-12 Thread Jouni K . Seppänen
lready committed to the trunk) should fix this on Python 2.6, but I don't have a Qt installation to try it out with. Can you try this on your system? -- Jouni K. Seppänen http://www.iki.fi/jks Index: lib/matplotlib/font_manager.py =

[Matplotlib-users] Source tarball should not include setup.cfg (was: 0.99.1.1 build attempts to import non-existing wx)

2009-10-27 Thread Jouni K . Seppänen
60720 I suggest we release a 0.99.1.2, possibly with just this bug fixed, since this problem keeps being reported on the mailing lists. -- Jouni K. Seppänen http://www.iki.fi/jks -- Come build with us! The BlackBer

Re: [Matplotlib-users] matplotlib setup is trying to build macosx extension on linux ?

2009-10-14 Thread Jouni K . Seppänen
it before building. -- Jouni K. Seppänen http://www.iki.fi/jks -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skil

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread Jouni K . Seppänen
It might work to set pdf.fonttype to 3 in matplotlibrc, but even if it helps, it would be useful to find the root of this problem. -- Jouni K. Seppänen http://www.iki.fi/jks -- Come build with us! The BlackBerry(R) Developer Confe

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread Jouni K . Seppänen
that you are using Qt4Agg? You can test this by trying python script.py -d pdf --verbose-debug If that works, then the problem could be related to Qt4Agg specifically, but if it fails, it is somewhere else. -- Jouni K.

Re: [Matplotlib-users] Problems with MPLCONFIGDIR

2009-10-09 Thread Jouni K . Seppänen
Sounds like you have a problem with the permissions on your home directory. Can you create the directory ~/.matplotlib yourself and make it writable by yourself? The commands to do that would be something like mkdir ~/.matplotlib chmod u+w ~/.matplotlib -- Jouni K. Seppänen

Re: [Matplotlib-users] error when installing matplotlib -- wx requirement?

2009-10-06 Thread Jouni K . Seppänen
ge.net/tracker/?func=detail&aid=2871530&group_id=80706&atid=560720 -- Jouni K. Seppänen http://www.iki.fi/jks -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Jouni K . Seppänen
s in the file? What does matplotlib.rcParams['text.latex.preamble'] return? If you do matplotlib.rcParams['text.latex.preamble'] = [r'\usepackage{lucidabr}'] does it start working? -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Jouni K . Seppänen
un your script once, and take a look at the tex file created in the tex.cache directory. Can LaTeX compile it directly? -- Jouni K. Seppänen http://www.iki.fi/jks -- Come build with us! The BlackBerry® Developer Conferenc

Re: [Matplotlib-users] matplotlib with eclipse: how to get a graph?

2009-09-22 Thread Jouni K . Seppänen
l Python shell interactive work can be difficult, depending on the backend, and whatever command-loop magic IPython does makes it work better. You could try different backends, but I suspect that Pydev would have to have specific support for integrating the backend-specific command loop for it to really work

Re: [Matplotlib-users] DeprecationWarning

2009-09-17 Thread Jouni K . Seppänen
"Nils Wagner" writes: > Is it possible to suppress the output of > DeprecationWarning messages on the screen ? Run python with the -Wignore::DeprecationWarning option; see the manual page for details. -- Jouni K. Seppänen http:

Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Jouni K . Seppänen
# Workaround: If the character name is 'Euro', give it the corresponding # character code, according to WinAnsiEncoding (see PDF Reference). if name == 'Euro': -- Jouni K. Seppänen http://www.iki.fi/jks --

Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Jouni K . Seppänen
shell and can't reproduce the problem any longer, you can delete your ~/.matplotlib/fontList.cache and try again) from pdb import pm pm() This should get you to a debugger. Then type: up p fh p line p vals to get some more information on what is going wrong. -- Jou

Re: [Matplotlib-users] Problem in svn install

2009-09-12 Thread Jouni K . Seppänen
also sudo apt-get build-dep python-matplotlib to install all the dependencies. -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Si

Re: [Matplotlib-users] mpl 0.99 and py2exe

2009-09-09 Thread Jouni K . Seppänen
> psd.__doc__ = "" >> >> Above is a bit of a hack, if someone can suggest how to correct this in >> a way which would get accepted as a patch I would search all modules >> correct them. I think either this or something like psd.__doc__

Re: [Matplotlib-users] download

2009-09-09 Thread Jouni K . Seppänen
agent header to Internet Explorer, to matplotlib-0.99.0.win32-py2.6.exe. -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your

Re: [Matplotlib-users] How to do accumulation plots with matplotlib

2009-09-05 Thread Jouni K . Seppänen
-pylab: In [4]: x = [1,0,0,0,2,3,2,1,0,0,0,2,2,1,3,0,0,3] In [5]: cumsum(x) Out[5]: array([ 1, 1, 1, 1, 3, 6, 8, 9, 9, 9, 9, 11, 13, 14, 17, 17, 17, 20]) In [6]: plot(cumsum(x)) Out[6]: [] -- Jouni K. Seppänen htt

Re: [Matplotlib-users] funny bug with greek letters

2009-09-05 Thread Jouni K . Seppänen
s for me, so I stick with the standard mathtex rendering. It is probably best to use the built-in mathtex, unless you have a specific reason to use TeX. -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Repo

Re: [Matplotlib-users] making quicktime animations from linux -- summary

2009-09-04 Thread Jouni K . Seppänen
o associate it with a player Your web server claims this to be a text file: Content-Type: text/plain; charset=UTF-8 If you put something like AddType video/ogg .ogv in a relevant Apache configuration file, browsers may have a better chance of identifying the file type. -- Jouni K. Se

Re: [Matplotlib-users] preserving transparency in eps

2009-08-31 Thread Jouni K . Seppänen
om/doc/current/Ps2ps2.htm http://www.ghostscript.com/pipermail/gs-devel/2009-April/008328.html You may need to tweak the ps2write parameters, especially the output resolution, to find the best tradeoff between file size and quality. -- Jouni K.

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Jouni K . Seppänen
"Werner F. Bruhin" writes: > I trying to create a Pareto diagram and would like that the percentage > marker is center aligned on the bars, Perhaps the easiest solution is to use bar(...,align='center'). -- Jouni K. Sepp

Re: [Matplotlib-users] contour lines not hidden by patches

2009-08-25 Thread Jouni K . Seppänen
the code sample is not runnable, so I couldn't try it out myself. I think it's probably the zorder, though. -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - Free Crystal

Re: [Matplotlib-users] showing current value on boxplot

2009-08-25 Thread Jouni K . Seppänen
s that plot autoscales the view tightly, which looks bad with the boxes, so you may want to nudge it a bit: from pylab import * boxplot(random((10,10))) plot(arange(1,11), random(10), 'rx', ms=5, mew=2, hold=True) a,b = xlim() xlim(a-.5,b+.5) show() -- Jou

Re: [Matplotlib-users] per-element marker - possible? how to?

2009-08-21 Thread Jouni K . Seppänen
John Owens writes: > plot([1,2,3], [1,4,9], markerlist=['A', 'B', 'C']) > > and have it draw the first point with a rendered > letter 'A', the second with a 'B', and the third with > a 'C'. You could do text(1,1,&#

Re: [Matplotlib-users] Custom ticklabels on colorbar

2009-08-20 Thread Jouni K . Seppänen
at I want to adjust the fontsize of the colorbar > ticklabels on four subplots. This only works for the last two subplots > with the syntax shown above. The same syntax has no effect on the first > two subplots. You should be able to pass font properties to set_xticklabels. If that doesn'

Re: [Matplotlib-users] bug in imshow for PDF, EPS output

2009-08-20 Thread Jouni K . Seppänen
Michael Fitzgerald writes: > Can anyone confirm this bug? I have added it to the sourceforge > tracker, ID 2832896. > https://sourceforge.net/tracker/?func=detail&aid=2832896&group_id=80706&atid=560720 I can see it but haven't been able to make time to investigate y

Re: [Matplotlib-users] mac os backend not building

2009-08-20 Thread Jouni K . Seppänen
rvices.h: No such file or directory Can you suggest something further to try? -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify y

Re: [Matplotlib-users] trouble installing new matplotlib on mac os x

2009-08-14 Thread Jouni K . Seppänen
to a 0.98 version of matplotlib, not 0.99. easy_install can be really bothersome. If you have an easy-install.pth file in your site-packages directory, edit it and remove references to the old version of matplotlib. -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] problem with svn install

2009-07-22 Thread Jouni K . Seppänen
ly this could be caused by SELinux (good luck with configuring that correctly), or perhaps your /home filesystem is mounted with the noexec option to prevent users from running their own code. Ask your system administrator how to install libraries so that Python can call dlopen on them. --

Re: [Matplotlib-users] PDF backend errors out; PNG works fine

2009-07-22 Thread Jouni K . Seppänen
than the computation nodes. I don't know how to fix this, but as a first step you could try compiling matplotlib on a computation node (submit something like "python setup.py build" as a job the same way you would submit another task on the cluster) and seeing if that gives more

Re: [Matplotlib-users] plotting problems in qt4agg backend on Mac OS X

2009-07-18 Thread Jouni K . Seppänen
eproduce the problem. Thank you for the report and the example! I think I have fixed this for the svg and pdf backends, but the PostScript backend still needs work. -- Jouni K. Seppänen http://www.iki.fi/jks -- Enter the

Re: [Matplotlib-users] plotting problems in qt4agg backend on Mac OS X

2009-07-17 Thread Jouni K . Seppänen
b_examples/hatch_demo.py, and both the pdf and svg backends produced correct-looking output. Does hatch_demo.py work correctly in your environment? -- Jouni K. Seppänen http://www.iki.fi/jks -- Enter the BlackBerry Deve

Re: [Matplotlib-users] plotting lines in the "background" of other lines

2009-07-17 Thread Jouni K . Seppänen
demo.html -- Jouni K. Seppänen http://www.iki.fi/jks -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry

Re: [Matplotlib-users] setting figure font to helvetica

2009-06-29 Thread Jouni K . Seppänen
ot;. This must be a bug. I don't have time to investigate now, so unless someone else has any comments, I suggest filing this on the sourceforge tracker. -- Jouni K. Seppänen http://www.iki.fi/jks --

Re: [Matplotlib-users] setting figure font to helvetica

2009-06-29 Thread Jouni K . Seppänen
ats, but probably the most practical solution is to use something like fondu to convert the font into TTF: http://fondu.sourceforge.net/ -- Jouni K. Seppänen http://www.iki.fi/jks -- ___ Ma

Re: [Matplotlib-users] savefig as pdf not generating vector graphics?

2009-06-28 Thread Jouni K . Seppänen
u have already imported pyplot, which causes the backend to be set as directed by your matplotlibrc file. Any call to matplotlib.use needs to be done before you import pyplot. -- Jouni K. Seppänen http://www.iki.fi/jks -- _

  1   2   3   4   >