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

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 j...@iki.fi 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't seem to have any systems

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

2014-10-17 Thread Jouni K . Seppänen
. 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 10 servers

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 j...@iki.fi writes: Thomas Caswell tcasw...@gmail.com 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 that fixes it, please make

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

2014-05-02 Thread Jouni K . Seppänen
valid thing to ask for, but it's not likely that there will be a perfect solution, and some other way of visualizing the data may be needed. Bokeh (suggested by Benjamin Root) looks like something that could fit your needs better than a pdf file in a viewer. -- Jouni K. Seppänen http://www.iki.fi

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

2014-05-01 Thread Jouni K . Seppänen
the condition for using XObjects for markers. -- Jouni K. Seppänen http://www.iki.fi/jks -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos

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

2013-07-30 Thread Jouni K . Seppänen
: 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. -- Jouni K

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

2012-10-18 Thread Jouni K . Seppänen
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 -- Everyone hates slow websites. So do we. Make

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

2012-10-18 Thread Jouni K . Seppänen
Gökhan Sever gokhanse...@gmail.com 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änen http://www.iki.fi/jks

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

2012-10-18 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi writes: Gökhan Sever gokhanse...@gmail.com 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. I

Re: [Matplotlib-users] static linking

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

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

2012-09-15 Thread Jouni K . Seppänen
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 -- How fast

Re: [Matplotlib-users] Accelerating PDF saved plots

2012-07-13 Thread Jouni K . Seppänen
). 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 security and threat landscape has changed and how IT managers can

Re: [Matplotlib-users] Accelerating PDF saved plots

2012-07-08 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. Seppänen http://www.iki.fi/jks

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

2012-05-28 Thread Jouni K . Seppänen
; it will be a large 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

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

2012-05-28 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi writes: Felix Patzelt fe...@neuro.uni-bremen.de 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

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

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

Re: [Matplotlib-users] corrupt pdf of histogram

2012-04-13 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi 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.fi/jks

Re: [Matplotlib-users] corrupt pdf of histogram

2012-04-09 Thread Jouni K . Seppänen
,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 for this at https://github.com/matplotlib/matplotlib/pull/817 -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] corrupt pdf of histogram

2012-03-28 Thread Jouni K . Seppänen
sanders sand...@knmi.nl 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://www.iki.fi

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

2012-03-08 Thread Jouni K . Seppänen
revision? 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
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 virtualization - but cloud computing also

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

2011-09-21 Thread Jouni K . Seppänen
, and it will include 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

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

2011-08-26 Thread Jouni K . Seppänen
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 world's simplest storage, starting under $10K

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

2011-08-21 Thread Jouni K . Seppänen
: +encoding, = encodings +else: +encoding = None + eff = effects.split() effects = {} try: -- Jouni K. Seppänen http://www.iki.fi/jks -- Get a FREE DOWNLOAD! and learn more about

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

2011-08-21 Thread Jouni K . Seppänen
Tony Yu tsy...@gmail.com 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/jks

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

2011-03-13 Thread Jouni K . Seppänen
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 -- Colocation

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

2011-03-13 Thread Jouni K . Seppänen
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. Managed Hosting A question and answer guide to determining the best fit

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

2011-03-12 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi writes: Pål Gunnar Ellingsen paa...@gmail.com 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 svn revision. Not the same

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

2011-03-12 Thread Jouni K . Seppänen
://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 organization

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

2011-03-12 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi 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 function

Re: [Matplotlib-users] bins and histograms

2011-03-10 Thread Jouni K . Seppänen
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. Seppänen http://www.iki.fi/jks

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

2011-03-08 Thread Jouni K . Seppänen
/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 of data connectivity, details its

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 Real

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

2011-02-27 Thread Jouni K . Seppänen
/gmane.comp.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
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 practices for maximizing

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

2011-02-07 Thread Jouni K . Seppänen
match is pbkdo8r URWBookmanL-DemiBold .167 SlantFont TeXBase1Encoding ReEncodeFont 8r.enc ubkd8a.pfb which is the same font but with another encoding. I wonder if this indicates a problem in the way Ubuntu sets up TeX Live? -- Jouni K. Seppänen http://www.iki.fi/jks

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

2011-02-07 Thread Jouni K . Seppänen
: -- Jouni K. Seppänen http://www.iki.fi/jks -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical

Re: [Matplotlib-users] Latex text rendering

2010-11-24 Thread Jouni K . Seppänen
David Pine d...@nyu.edu 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, but if you use Python to set parameters, you do. -- Jouni K. Seppänen

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

2010-10-13 Thread Jouni K . Seppänen
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, ECMAScript5, and DOM L2 L3. Spend

Re: [Matplotlib-users] user group video

2010-10-13 Thread Jouni K . Seppänen
/gmane.comp.python.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] WebP support

2010-10-04 Thread Jouni K . Seppänen
Michael Droettboom md...@stsci.edu writes: On 10/02/2010 01:39 PM, Jouni K. Seppänen wrote: Benjamin Rootben.r...@ou.edu 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 assumed that it was not supported

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

2010-10-04 Thread Jouni K . Seppänen
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. -- Jouni K. Seppänen http://www.iki.fi/jks

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

2010-10-04 Thread Jouni K . Seppänen
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 -- Jouni K. Seppänen http://www.iki.fi/jks

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. Seppänen http

Re: [Matplotlib-users] WebP support

2010-10-02 Thread Jouni K . Seppänen
Nils Wagner nwag...@iam.uni-stuttgart.de 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

Re: [Matplotlib-users] WebP support

2010-10-02 Thread Jouni K . Seppänen
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 appliances and start using them

Re: [Matplotlib-users] asynchronous plots?

2010-09-25 Thread Jouni K . Seppänen
in a separate 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änen http://www.iki.fi/jks

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

2010-09-25 Thread Jouni K . Seppänen
, 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 -- Start uncovering the many advantages of virtual appliances

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

2010-09-20 Thread Jouni K . Seppänen
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 deployment

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
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
assert vertices.ndim == 2 assert vertices.shape[1] == 2 -- Jouni K. Seppänen http://www.iki.fi/jks -- ___ Matplotlib-users mailing list Matplotlib-users

Re: [Matplotlib-users] matplotlib import problem

2010-05-05 Thread Jouni K . Seppänen
that is inadvertently getting imported by urllib.py. -- Jouni K. Seppänen http://www.iki.fi/jks -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https

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

2010-01-30 Thread Jouni K . Seppänen
). (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 deeper meaning for it? -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] Problem generating postscript

2009-12-31 Thread Jouni K . Seppänen
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 Community Take advantage of Verizon's best

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

2009-12-03 Thread Jouni K . Seppänen
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 -- Join us December 9

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

2009-12-02 Thread Jouni K . Seppänen
, 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 tex print? -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] Links in pdf

2009-11-30 Thread Jouni K . Seppänen
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://www.iki.fi/jks

Re: [Matplotlib-users] Links in pdf

2009-11-28 Thread Jouni K . Seppänen
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 - Free Crystal

Re: [Matplotlib-users] metadata

2009-11-13 Thread Jouni K . Seppänen
for that, but 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.iki.fi/jks

Re: [Matplotlib-users] metadata

2009-11-13 Thread Jouni K . Seppänen
Jouni K. Seppänen j...@iki.fi writes: Marius Jan Klein mjk...@nyu.edu 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. Concerning pdf files

Re: [Matplotlib-users] matplotlib with Qt4 backend

2009-11-12 Thread Jouni K . Seppänen
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 === --- lib/matplotlib/font_manager.py (revision 7951

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

2009-10-28 Thread Jouni K . Seppänen
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 BlackBerry(R) Developer Conference in SF, CA

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

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

2009-10-12 Thread Jouni K . Seppänen
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. Seppänen http://www.iki.fi/jks

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

2009-10-12 Thread Jouni K . Seppänen
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 Conference

Re: [Matplotlib-users] Problems with MPLCONFIGDIR

2009-10-09 Thread Jouni K . Seppänen
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 http://www.iki.fi/jks

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Jouni K . Seppänen
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 BlackBerryreg; Developer

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Jouni K . Seppänen
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 -- Come build

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

2009-09-22 Thread Jouni K . Seppänen
. -- Jouni K. Seppänen http://www.iki.fi/jks -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take

Re: [Matplotlib-users] DeprecationWarning

2009-09-17 Thread Jouni K . Seppänen
Nils Wagner nwag...@iam.uni-stuttgart.de 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://www.iki.fi/jks

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

2009-09-15 Thread Jouni K . Seppänen
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. -- 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
(vals[3][2:]) +bbox = _to_list_of_floats(vals[3][2:]) +bbox = map(int, bbox) # 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

Re: [Matplotlib-users] download

2009-09-09 Thread Jouni K . Seppänen
user 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] mpl 0.99 and py2exe

2009-09-09 Thread Jouni K . Seppänen
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__ = psd.__doc__ and (psd.__doc__ % kwdocd) should be acceptable as a bugfix. -- Jouni K. Seppänen http://www.iki.fi/jks

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

2009-09-05 Thread Jouni K . Seppänen
files 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

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

2009-09-05 Thread Jouni K . Seppänen
: 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]: [matplotlib.lines.Line2D object at 0xa945070] -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] preserving transparency in eps

2009-08-31 Thread Jouni K . Seppänen
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. Seppänen http://www.iki.fi/jks

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

2009-08-25 Thread Jouni K . Seppänen
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() -- Jouni K. Seppänen http://www.iki.fi/jks

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

2009-08-25 Thread Jouni K . Seppänen
edited out, 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

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 werner.bru...@free.fr 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änen http://www.iki.fi/jks

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

2009-08-22 Thread Jouni K . Seppänen
John Owens john_ow...@yahoo.com 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,'A') text(2,4,'B') text(3,9,'C') -- Jouni K. Seppänen http

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

2009-08-20 Thread Jouni K . Seppänen
/ApplicationServices.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 your

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

2009-08-20 Thread Jouni K . Seppänen
K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core

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

2009-08-14 Thread Jouni K . Seppänen
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 -- Let Crystal Reports handle the reporting - Free Crystal

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

2009-07-17 Thread Jouni K . Seppänen
/zorder_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

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

2009-07-17 Thread Jouni K . Seppänen
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 Developer Challenge This is your chance

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

2009-06-29 Thread Jouni K . Seppänen
://fondu.sourceforge.net/ -- Jouni K. Seppänen http://www.iki.fi/jks -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists

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

2009-06-28 Thread Jouni K . Seppänen
is pretty good and doesn't require any external programs. The problem is that myfig.pdf for some reason renders the figure's x and y labels as *images* rather than vector graphics. Could you send the resulting pdf file to me off-list? -- Jouni K. Seppänen http://www.iki.fi/jks

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

2009-06-28 Thread Jouni K . Seppänen
to matplotlib.use needs to be done before you import pyplot. -- Jouni K. Seppänen http://www.iki.fi/jks -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https

Re: [Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread Jouni K . Seppänen
the directory to e.g. mpl or move it to some directory that is not on your Python path. ''' % __name__ -- Jouni K. Seppänen http://www.iki.fi/jks -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new

Re: [Matplotlib-users] Failure to build due to missing X?

2009-05-24 Thread Jouni K . Seppänen
= python setup.py install --prefix=/d/facets/contrib -- Jouni K. Seppänen http://www.iki.fi/jks -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity

Re: [Matplotlib-users] Reducing png file size

2009-05-18 Thread Jouni K . Seppänen
fix the palette off-line using whatever fancy algorithm you like, and then the actual conversion could be done pretty fast, especially if you can forgo dithering - perhaps for many types of charts it is not necessary. -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-14 Thread Jouni K . Seppänen
percentiles of the data respectively. I'm too overwhelmed by other stuff to comment at length, but I don't think the whiskers are usually expected to be at the 5th and 95th percentiles: http://en.wikipedia.org/wiki/Box_plot -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] problem with usetex \color

2009-05-12 Thread Jouni K . Seppänen
Computer Modern Roman (the default font in TeX) does have tabular figures. -- Jouni K. Seppänen http://www.iki.fi/jks -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment

Re: [Matplotlib-users] figuresize and dpi

2009-05-12 Thread Jouni K . Seppänen
on the screen. I think The GIMP has a dpi calibration dialog where it shows rulers and asks you to measure them with a physical ruler. You might want to install The GIMP, set up the dpi and use it to view your png files. -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] svn revision number

2009-05-08 Thread Jouni K . Seppänen
code. -- Jouni K. Seppänen http://www.iki.fi/jks -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's

[Matplotlib-users] OS X binary installer broken on 10.4? (was: O pylab why do you refuse to import?)

2009-05-07 Thread Jouni K . Seppänen
/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/ft2font.so Reason: image not found -- Jouni K. Seppänen http://www.iki.fi/jks -- The NEW KODAK i700 Series Scanners deliver under ANY

Re: [Matplotlib-users] installation issue

2009-04-28 Thread Jouni K . Seppänen
for compiling matplotlib. -- Jouni K. Seppänen http://www.iki.fi/jks -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands

Re: [Matplotlib-users] installation issue

2009-04-28 Thread Jouni K . Seppänen
which version would be my default. That will depend on how Python is configured in Fedora (I have no idea) and what command-line options you use when you install matplotlib. See http://docs.python.org/install/ for the details. -- Jouni K. Seppänen http://www.iki.fi/jks

  1   2   3   >