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
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&
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
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
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
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
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
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'
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
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
---
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
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
---
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
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
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
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
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
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.
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
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
?
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 -
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
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
-
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
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
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/
7;
+ % (texname, psname), 'debug')
+return
+elif len(encodings) == 1:
+encoding, = encodings
+else:
+encoding = None
+
eff = effects.split()
effects = {}
try:
--
Jouni K. Seppänen
http://
;.
> 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
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
--
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
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
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
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.
/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
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
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
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
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
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
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,
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
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,
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
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
--
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
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
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
"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
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
-
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
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
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
-
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
--
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
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
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
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
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
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
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
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://
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
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
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
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
=
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
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
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
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.
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
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
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
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
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
"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:
# 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
--
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
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
> 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__
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
-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
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
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
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.
"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
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
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
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,
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'
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
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
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
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.
--
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
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
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
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
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
--
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
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 - 100 of 308 matches
Mail list logo