ral
messages per week. I have emailed the gmane.org administrator to ask
about the status.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
___
Matplotlib-devel mailing list
Matplot
1, data=ev)
axes[1, 0].plot(x, y ** 2, data=ev)
axes[1, 1].plot(x, 2 * y ** z, data=ev)
The output:
https://raw.githubusercontent.com/jkseppan/matplotlib/label-with-nonstrings/lib/matplotlib/tests/baseline_image
gmane.org/gmane.comp.python.matplotlib.general
http://news.gmane.org/gmane.comp.python.matplotlib.devel
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
___
Matplotlib-devel mailing list
Matplot
compiler flag, which makes sense for release builds but could
hide problems in test builds.
Do any of our Travis, Launchpad, or other daily builds undefine NDEBUG?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Learn Graph
thing like this:
plot(..., lw='2')
If so, the solution would be to add some type checks in the backend
(and possibly in the frontend). If not, there must be a stranger bug
somewhere in the matplotlib innards.
--
Jouni K. Seppä
otting the resulting data storing it somehow (in e.g. a pickle, or
a small hdf5 file). Then make a separate script that reads the stored
data and calls matplotlib functions, and if that can reproduce the
problem it would help us in debugging.
--
Jouni K. Seppä
ul-looking setup:
https://chromium-build.appspot.com/p/chromium/console
Other options include at least CircleCI (a paid service), but I have no
experience with it.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
See ever
puts not only glyphs but also
boxes, which are black rectangles used to implement things like the
underscore character and the varying-length part of the square-root
sign. To support this, I guess TextSpan.get_chars should be able to
re
ncies for me
> to want to try to build it from source.
The following should help matplotlib find Inkscape:
PATH=$PATH:/Applications/Inkscape.app/Contents/Resources/bin \
python -c 'import matplotlib; matplotlib.test(1)'
--
Jouni K. Seppä
r fix was merged later than the release
candidate was announced. You might want to try a later version.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Live Security Virtual Conference
Exclusive live event will cover all the wa
files that have this kind of artifacts, maybe it's a
rendering bug in the other viewers, or possibly the imaging model is
underspecified.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Better than sec? Nothing is bet
s Adobe Reader, ghostscript or xpdf.
If you zoom in in Apple's Preview.app, the image looks blurry. But maybe
blurriness in one out of four renderers is better than white lines in
three out of four?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
aster image from pcolor and
render it with large pixels. I don't know how well that would work with
Agg, though.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
For Developers, A Lot Can Happen In A Second.
Boundary is
t the branch
doesn't merge cleanly. It would probably be best if the author of each
change did the merging into master, since they know best how to resolve
any merge conflicts. I can make a suggested merge as a pull request, but
it would be best if Eric and Michael reviewed it.
--
Jouni K. Sep
Jouni K. Seppänen writes:
> Jouni K. Seppänen writes:
>
>> The light and condensed fonts are DejaVuSans, which happened to be
>> installed on the system on which that test was created. I think the test
>> should only rely on the fonts delivered with matplotlib.
>
disk sometimes contained NaN
values, and the test failed since NaN != NaN.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a defin
Jouni K. Seppänen writes:
> The light and condensed fonts are DejaVuSans, which happened to be
> installed on the system on which that test was created. I think the test
> should only rely on the fonts delivered with matplotlib.
I created a github issue:
https://github.com/m
Jouni K. Seppänen writes:
>>> FAIL: matplotlib.tests.test_text.test_font_styles.test
>>> FAIL: matplotlib.tests.test_text.test_font_styles.test
>>>
>> How much was the difference?
>
> Large: in all three result images, the condensed and light fonts l
Jouni K. Seppänen writes:
>>> FAIL: no_testCreateLocaltime (test_tzinfo.LocalTestCase)
>>>
>> Any info provided on this failure?
>
> AssertionError: '2004-10-31 02:00:00 AMT+0020' != '2004-10-31 02:00:00
> CET+0100'
That test has a comment &
vant images.
>> FAIL: no_testCreateLocaltime (test_tzinfo.LocalTestCase)
>>
>>
> Any info provided on this failure?
AssertionError: '2004-10-31 02:00:00 AMT+0020' != '2004-10-31 02:00:00 CET+0100'
--
Jouni K. Seppänen
http://www.iki.fi/jks
<><>
FAIL: no_testCreateLocaltime (test_tzinfo.LocalTestCase)
(The test_font_styles test produces two failures, one for agg and one
for svg.)
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
All of the data generated in yo
t fixes a test failure:
https://github.com/matplotlib/matplotlib/pull/476
Should I just merge it myself, or does someone still want to review it?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
All of the dat
John Hunter writes:
> I confirmed this on linux and added an issue on github:
> https://github.com/matplotlib/matplotlib/issues/478.
Pull request #479 fixes the immediate problem, but for the long term we
should fix the handling of redirection in get_sample_data.
--
Jouni K. Seppäne
l send a pull request to fix this soon.
This reminds me: what's the status of the buildbot? Regular buildbot
runs would have caught this much sooner. If I could find some place to
run buildbot, does the git repository contain all the necessary scripts
and configuration or is it more work to set it u
> Besides, it would be very useful to find these options in the
> documentation or the help if there is a situation in which they work.
The options are documented, but it's not very easy to find them:
http://matplotlib.sourceforge.net/api/backend_bases_api.html#matplotlib.backend_ba
/lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
> --
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at
Some issues imported from Sourceforge have attachments, but the links to
Sourceforge no longer work. For example, see
https://github.com/matplotlib/matplotlib/issues/235
and try following the "Original report" link.
Does anyone have a database dump of the attachments?
--
Jouni K
f v1.0.x will be in
master's history, so it will not be merged again; (2) the merge is done
by selecting the version of each file that is already in master, so the
contents of master do not change.
--
Jouni K. Seppän
Jouni K. Seppänen writes:
> I tried to merge my changes into master with the no-op "ours" strategy
> to prevent exactly this kind of problems while waiting for the other
> request to move forward, but apparently I didn't do it right. I'll take
> a look tonight
egy
to prevent exactly this kind of problems while waiting for the other
request to move forward, but apparently I didn't do it right. I'll take
a look tonight (but right now I must attend to other things).
--
Jo
Eric Firing writes:
> Will you commit the new "expected" png file? Sorry I did not catch this.
Done.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Enable your software for Intel(R) Active Management
ll only fetch branches and tags, but I was
able to get this commit with git http-fetch. I pushed it to master, so
it should be fine now.
Avoid using git push -f from now on, OK? :-)
--
Jouni K. Seppänen
http://www.iki.fi/jks
hink we have had) it would make sense to squash multiple
commits into one if the intermediate commits don't pass the test
suite. Squashing is an instance of a rebase operation, so it should be
avoided for any commits on which someone may have bas
ge conflict (at least with current v1.0.x), merging to
master will. I created another pull request that includes this one and
resolves the merge conflict:
https://github.com/matplotlib/matplotlib/pull/30
So when #17 is merged into v1.0.x, #30 should be merged into master.
--
Jouni K. Sepp
ts
3. the tests fail (also a kind of merge conflict, assuming the tests
passed before)
4. the push fails because fast-forward is impossible (someone has
pushed in the meantime)
5. v1.0.x doesn't merge cleanly into master
--
Jouni K. Seppä
user.
> The major change between the freetype 2.3 series and 2.4 seems to be "In
> addition to many bugfixes, the TrueType bytecode interpreter is now
> enabled by default. All users should upgrade."
It could be that we have inadvertently relied on bugs, or that truetype
hints cause
ster, e.g. if
there is a feature in master that the branch is going to depend on.
--
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
agree with the makefile about all the version numbers
in the mpkg filename, so hdiutil failed due to a missing input file. I
do think that problem is unrelated to these changes.
--
Jouni K. Seppänen
http://www.iki.fi/jks
---
ter can
> now handle
>
> ZLIBVERSION=1.2.5
> PNGVERSION=1.5.1
> FREETYPEVERSION=2.4.4
I think we should keep the changes to v1.0.x minimal - in master it
makes sense to upgrade to the newest versions. I'll make a separate pull
request for master.
--
Jouni K. Seppänen writes:
> Fernando Garcia Bermudez writes:
>
>> Fine by me as well. Maybe modify the documentation to point to
>> mpl_install_std. How should we proceed?
>
> I'll make some other cleanups and create some commits that you can
> include in your p
Fernando Garcia Bermudez writes:
> Fine by me as well. Maybe modify the documentation to point to
> mpl_install_std. How should we proceed?
I'll make some other cleanups and create some commits that you can
include in your pull request.
--
Jouni K. Seppänen
http://www
run_cmd CMD="setup.py build"
mpl_install:
run_cmd CMD="setup.py install --prefix=${PREFIX}"
mpl_install_std:
run_cmd CMD="setup.py install"
mpl_develop:
run_cmd CMD="setupegg.py develop"
----
is is originally John's file and he may have had a good
reason to install in a non-standard directory. Any comments?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
What You Don't Know About Data Connectivity CAN Hurt
issue and the commits that resolve it, the ability for
> people to provide feedback on what issues are important to them.
Does anyone have experience with other trackers? bugs.python.org seems
to be using Roundup - any e
x27;ll naturally have to recompile with the same "develop" command.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splu
he pull request got merged.
> I am thoroughly confused. Anybody has ideas? Should I dump my repos and
> start fresh?
No, absolutely not. This is likely just a matter of merging into an
up-to-date master branch.
--
Jouni K. Seppänen
http://www.iki.fi/jks
---
at
purpose: to avoid having the user's configuration mess up the
documentation. If you were to update rcParamsDefault with the
matplotlibrc parameters, you might accidentally change the exa
f the cwd changes as seen above then the
> documentation was entirely correct in claiming an absolute path is
> necessary.
I just tested that the relative path works fine by making the path
relative and trying cbook.get_sample_data; it's just not much use if
your current working director
brc or $MATPLOTLIBDATA/matplotlibrc,
possibly setting $HOME or $MATPLOTLIBDATA from your build script?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
___
Matplotlib-devel mail
that the doc/matplotlibrc file is completely
> ignored.
I am not intimately familiar with the doc build system, but the way that
the "html" function in make.py copies matplotlibrc from mpl-data to
_static, I suspect that it is trying to ensure that that particular file
is used.
-
> > So now on the 1.0 maintenance branch (coming soon to trunk, once I'm
> > done wrangling with svnmerge) you can set new rc parameters
> > examples.download to False and examples.directory to the directory
> >
> How would one set these during the build process? Is there a way to pass
> in rc par
Jouni K. Seppänen writes:
> Benjamin Root writes:
>
>>> As an Ubuntu user, I would really a mechanism
>>> for excluding examples requiring downloaded data from being built
>>
>> How far did we get on that? I could have sworn we did something
>> abou
ussions (something to do with the transition
to git, and putting test results in the same mechanism), but at least I
never got around to writing any code, and then got distracted by my day
job. I'll commit something simple to deal with this, since the fancier
plans were apparently too much.
Gökhan Sever writes:
> Please see the screenshot at
> http://img225.imageshack.us/img225/1052/legendposition.png
Can you make a self-contained test case?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Nokia an
all that rebuilt version
and test on it, or were you accidentally using a version compiled
against a different Python binary?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Start uncovering the many advantages of
y, the example code would
call get_sample_data("foo.dat") to get the latest revision or
get_sample_data("foo.dat", 1234) to get a specific one. These would
retrieve URLs like
http://example.com/
estdir/subdir/testsub.csv ===
r7368 | jdh2358 | 2009-08-05 17:54:01 +0300 (Wed, 05 Aug 2009)
--------
--
Jouni K. Seppä
Eric Firing writes:
> This project does NOT incorporate, access, call upon, or otherwise use
> encryption of any kind, including, but not limited to, open source
> algorithms and/or calls to encryption in the operating system or
> underlying platform.
I don't know whether lib/matplotlib/type1
elease,
>> and the possibility that there will be some turbulence until we have
>> had some experience with github, I think it would be better to
>> release first and transition immediately afterwards.
I agree that there should be a release before the transition.
--
Jouni K. S
atplotlib/sample_data/aapl.csv'])
ViewVCCachedServer: retrieving
http://github.com/jkseppan/mpl-sample-data/raw/master/aapl.csv
ViewVCCachedServer: received response 200: OK
loading /Users/jks/.matplotlib/sample_data/aapl.csv
--
Jouni K. Seppänen
http://www.iki.fi/jks
-
really not specific to any version control system, but just
assumes that the files can be retrieved from an HTTP server that has
some basic conditional-get support.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Jouni K. Seppänen writes:
>> It looks like Jouni wrote that test... Jouni: could you verify that the
>> difference isn't significant? If it's not, we can just create a new
>> baseline image.
>
> I can't replicate the problem: for me "nosetests
create a new
> baseline image.
I can't replicate the problem: for me "nosetests
matplotlib.tests.test_image:test_figimage" passes (Python 2.6.1,
matplotlib revision 8276, OS X 10.6.3). Could you post the failing
images somewhere?
Jouni K. Seppänen writes:
> Have you tried the instructions in release/osx/README? It seems that on
> OS X it is easy to accidentally install a combination of libraries that
> will cause build problems with matplotlib:
>
> http://matplotlib.sourceforge.net/users/installing.html#
sue?
>
> Incidentally, I'm seeing the same FreeType issue on RedHat Linux. Is
> everybody experiencing this bug, or is it perhaps related to EPD (the Python
> on both my Mac and RHEL boxes).
>
> --Mike
> On Mar 11, 2010, at 1:24 PM, Jouni K. Seppänen wrote:
>
>> Michael
/TD8AAFmS//9dPwAAUJ3//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
---
bplot 4, I can make its spines appear
in subplots 2 and 3. Curiously enough, they don't show up in subplot 1.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
This SF.Net email is sponsored by the Verizon Developer Com
rmat, how files
corresponding to the old class should be read in using the new class,
etc. Perhaps something like Google's protocol buffers could be used to
make this easier, but it would still be an burden on all subsequent
develo
for somebody who really does want high resolution (e.g. for
zooming in in a viewer application).
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantag
ransforms.cpp:21
> 21matrix = (PyArrayObject*) PyArray_FromObject(obj,
> PyArray_DOUBLE, 2, 2);
Can you type "bt" in gdb at this point to see the whole call stack?
--
Jouni K. Seppänen
http://www.iki.fi/jks
-
Matthew Brett writes:
> I am rashly building matplotlib from source on Snow Leopard, and
> getting a segmentation fault as soon as I try and do a plot.
Can you get a backtrace in gdb?
--
Jouni K. Seppänen
http://www.iki.
>
> I think it seems like a pretty benign change -- unless there's something
> in particular you're thinking of that I'm not...
>
> Mike
>
> Jouni K. Seppänen wrote:
>> Because of the problem described here:
>>
>> http://thread.gmane.org/gmane.c
tended command. Since the
get_fontconfig_fonts function has not returned anything useful for some
time (though presumably it has at some point in the past), this change
might have big effects somewhere else.
Would this change be appropriate for the bugfix branch?
--
Jouni K. Seppä
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
k
> dots instead of red ones.
It's because of the black edgecolor. Try
scatter(x,y,s=1,c='r',edgecolor='None')
to disable drawing the edges.
> Do you devs have an IRC channel? I'd like to talk interact
t too familiar with Path (and I'm terribly busy today) but I think
the way to catch this bug is to add a sanity check to Path, similar to
the check in the pdf backend that produces that error. Then the
traceback would show what code is creating the invalid path -- the
traceback from the backend
Could somebody test that script with current trunk (rev. 7899)? I don't
have basemap installed, but I think my latest change might shake out the
bug.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Come build wi
m too busy to debug this today,
but please file a bug in the tracker.
--
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 ne
gzipped? If you gzip an svg file and name it
something.svgz, inkscape seems to open it fine.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the on
pdf.png
files because those get produced while running the tests from the *.pdf
files, and they are not checked into the svn repository.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Come build with us! The BlackBerry(R) Develo
Jouni K. Seppänen writes:
> Oh, right. My fault: when I implemented the pdf comparison, I made it
> run the test for only those formats for which a baseline image exists,
I committed a change to make it run both png and pdf tests all the time.
When we add new formats (comparing post
ends. I guess this should be done in some other way, and
perhaps the usual case is to test all backends for which the output can
be compared.
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Come build with us! The BlackBerr
/test/logs/stdio
http://mpl-buildbot.code.astraw.com/builders/Ubuntu%208.04%2C%20Python%202.5%2C%20amd64%2C%20no%20dvipng%2C%20no%20latex/builds/91/steps/test/logs/stdio
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Come build with us
net/examples/pylab_examples/hatch_demo.html
--
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 you need to attend this year. Ju
Jouni K. Seppänen writes:
> I committed something based on this, and a new rc parameter
> savefig.extension that sets the filename extension when you call savefig
> with a bare filename. The pdf tests seem to be working, at least for me,
> but I am sure that the code can be im
ted something based on this, and a new rc parameter
savefig.extension that sets the filename extension when you call savefig
with a bare filename. The pdf tests seem to be working, at least for me,
but I am sure that the code can be improved.
--
Jouni K. Seppänen
ing the test cases call savefig
with all the relevant file formats? That doesn't look so nice if the
test cases end up with a big block of savefig calls, but it has the
advantage that there is no magic involved and it is very obvious what is
going
tch work (in some cases, eg pure image
backends) so one can set warn=False to supporess the warnings
"""
-if 'matplotlib.backends' in sys.modules:
-if warn: warnings.warn(_use_error_msg)
+if 'matplotlib.backends' in sys.modules and warn:
+warning
renderer.
I suppose Ghostscript is widespread enough that we can assume that it
exists in the test environment? Or is there some buildout magic that we
should add in some file?
--
Jouni K. Seppänen
http://www.iki.fi/jks
---
, there should be no font-rendering or antialiasing
mismatches.
Can we assume that all test computers will have some version of
Ghostscript installed and callable as "gs"?
--
Jouni K. Seppänen
http://www.iki.fi/jks
-
the backends,
in addition to the get_image_magnification method?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report de
s the Tony's change on the branch; 7585 was the svnmerge to the
> trunk, which pulled in earlier changes that had not been merged yet. The
> others were just documentation, though, so I am still mystified. Oh, well.
If I'm reading the waterfall display correctly, it looks like m
Jouni K. Seppänen writes:
>> The current interface looks easy enough to use -- it just needs to be
>> advertised better, eg in a FAQ ( I had to read the source to find it,
>> which works well enough for me, but not for everyone). If you want to
>> write one up, I'
it. Have you tried "rm -rf build"?
--
Jouni 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
in the documentation at some point, but it is missing now from
<http://matplotlib.sourceforge.net/api/index_backend_api.html>. Of
course the "backends" chapter may not get read by many users, so there
could be a pointer to it from some suitable plac
direct the output to that. I personally don't have a use for
that, but do you think it would be a useful part of pyplot?
--
Jouni K. Seppänen
http://www.iki.fi/jks
--
Let Crystal Reports handle the reporting - Fre
tegration and deployment - and
>>> focus on what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> ___
nmerge.py avail
svnmerge: multiple sources found. Explicit source argument (-S/--source)
required.
The merge sources available are:
/branches/mathtex
/branches/v0_91_maint
/branches/v0_98_5_maint
I'm pretty sure that this used to work. What has changed in the repository?
-
> src/_macosx.m: In function ‘setfont’:
>> src/_macosx.m:1895: error: ‘CTFontRef’ undeclared (first use in this
>> function)
I committed to trunk a change that I think should fix this problem.
Please test.
cosx10.5.dmg worked
well, and I had no problems compiling matplotlib. The resulting files
are of course specific to i386, OS X version 10.5, and probably some
libraries on my system, so they are not good for distribution, but I
seemed to avoid all the usual problems with compiling matplotlib.
--
Jou
1 - 100 of 193 matches
Mail list logo