telemeister | 1 Jun 13:59
Picon

Re: linux: seg fault on show()


Sorry have not responded re this earlier - I have been off the air for a few
days.

First here are the debug outputs from the tests suggested by John.

http://www.nabble.com/file/p17584892/Agg.log Agg.log 
http://www.nabble.com/file/p17584892/PS.log PS.log 
http://www.nabble.com/file/p17584892/TkAgg.log TkAgg.log 
http://www.nabble.com/file/p17584892/GTK.log GTK.log 

Of these:

TkAgg fails with segmentation fault
GTK  : No module named gobject (guess I'm not set up for GTK)
Agg and PS don't error, but dont appear to generate any output.

Secondly, regarding Mike's suggestion: 

I'm keen to try out the maintenance release with bugfix as suggested..
Some advice on downloading pls.... 
Do I use subversion to download that release..?
Or is there a '.tar.gz' that I can download. ? 

Thnx in advance

steve

John Hunter-4 wrote:
> 
(Continue reading)

telemeister | 2 Jun 05:05
Picon

Re: linux: seg fault on show() - FIXED!


Since previous post I have installed subversion and installed the maintenance
release 
matplotlib-0.91.x

This segmentation fault no longer occurs.
Thanks John and Michael for your help with this.

Steve

telemeister wrote:
> 
> Sorry have not responded re this earlier - I have been off the air for a
> few days.
> 
> First here are the debug outputs from the tests suggested by John.
> 
>  http://www.nabble.com/file/p17584892/Agg.log Agg.log 
>  http://www.nabble.com/file/p17584892/PS.log PS.log 
>  http://www.nabble.com/file/p17584892/TkAgg.log TkAgg.log 
>  http://www.nabble.com/file/p17584892/GTK.log GTK.log 
> 
> Of these:
> 
> TkAgg fails with segmentation fault
> GTK  : No module named gobject (guess I'm not set up for GTK)
> Agg and PS don't error, but dont appear to generate any output.
> 
> 
> Secondly, regarding Mike's suggestion: 
(Continue reading)

Erik Tollerud | 2 Jun 07:25
Picon
Gravatar

Controlling math mode font weights

I am having trouble figuring out how to control the weight of labels
and text with the usetex option set to True.  I would like to force
all mathmode labels and text to be at least bold.  I can imagine doing
this either by substituting a font (i.e. changing the mathtext.fontset
to 'custom' and all of the different matext.?? to some boldface font),
or some the font.weight rc parameter, but neither of these has any
effect - whatever I do, the mathmode and other TeX formatted text
stays the same weight.  How can I make it just turn up the weights to
bold without changing anything else?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Pierre Raybaut | 2 Jun 09:15

New matplotlib website

Hi matplotlib developers,
 
Congratulations for the brand new matplotlib website!
It looks great and modern, and that's exactly what matplotlib deserves.
 
And congratulations for the new release as well, of course.
Keep up your good work!
 
Regards,
Pierre Raybaut
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Andyy | 2 Jun 11:30
Picon

canvas color

Hey There,

I am using MatPlotLib to generate barchart and pie chart on Plone3, zope 2.10

Does anyone know how can i change the grey background color of the canvas,
the one which comes by default.

Is that the axes color or canvas color? Please Help.

Thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
John Hunter | 2 Jun 13:30
Picon
Gravatar

ANN: matplotitb-0.91.3

matplotlib 0.91.3 is released
=============================

This is the maintenance bug-fix and feature enhancement release of the
0.91 branch.  Because the 0.98 refactoring introduced more code
breakage than usual, we decided to branch the 0.91 series for users
unable to upgrade right away.  We have ported as many bug fixes and
features to the maintenance branch as possible, and these are now
available for release as 0.91.3.

Homepage: http://matplotlib.sf.net

Downloads are available at
http://sourceforge.net/project/platformdownload.php?group_id=80706
with binary installers for windows and OS X.  Thanks to Charlie Moad
for the builds and release.

What's new in matplotlib 0.91.3
===============================

ginput function
---------------

ginput (http://matplotlib.sf.net/matplotlib.pyplot.html#-ginput) is a
blocking function for interactive use to get input from the user.  A
long requested feature submitted by Gael Varoquaux.  See
http://matplotlib.sf.net/examples/pylab/ginput_demo.py.

better savefig
--------------

savefig (http://matplotlib.sf.net/matplotlib.pyplot.html#-savefig) now
supports save to file handles (great for web app servers) or unicode
filenames on all backends

record array functions
----------------------

some more helper functions to facilitate work with record arrays: rec_groupby,
rec2txt, and rec_summarize.  These are found in matplotlib.mlab
(http://matplotlib.sf.net/matplotlib.mlab.html)

accurate elliptical arcs
------------------------

In support of the Phoenix mission to Mars, which used matplotlib in
ground tracking of the spacecraft, Michael Droettboom built on work by
Charlie Moad to provide an extremely accurate 8-spline approximation
to elliptical arcs (see
http://matplotlib.sf.net/matplotlib.patches.html#Arc-draw)win the
viewport.  This provides a scale free, accurate graph of the arc
regardless of zoom level.  See the screenshot and example at
http://matplotlib.sf.net/screenshots.html#ellipse_demo

imread enhanced
---------------

imread (http://matplotlib.sf.net/matplotlib.image.html#-imread) now
will use PIL when available to load images and return numpy arrays

backend enhancements
--------------------

* postscript : the postscript backend has clipping to paths (useful
for polar plots)

* PDF : the PDF backend handles composite glyphs properly, usetex fixes

* SVG : clip to path (useful for polar plots), inkscape cut-and-paste fixes.

* QT : Fixed a duplicate draw bug that slowed performance.  Native qt
       toolbars and status bars used for the toolbar controls

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
John Hunter | 2 Jun 13:38
Picon
Gravatar

ANN: matplotitb-0.98.0 milestone release

matplotlib 0.98.0 is released
=============================

This is a milestone release of matplotlib with a significant internal
refactoring to support better transformations, path drawing, and
readily extensible coordinate projections and scales.  Michael
Droettboom of STScI did the lion's share of the work, but a large
number of developers have made many significant contributions.  This
is such a significant improvement of the matplotlib code base that we
are jumping from the 0.91 series to the 0.98 series, in anticipation
of rapid progress to 1.0.

Downloads are available at
http://sourceforge.net/project/platformdownload.php?group_id=80706
with binary installers for windows and OS X.  Thanks to Charlie Moad
for the builds and release.

See the migration document at http://matplotlib.sf.net/MIGRATION.txt,
the API changes at http://matplotlib.sf.net/API_CHANGES, and the full
CHANGELOG at http://matplotlib.sf.net/CHANGELOG .  You should manually
any old install of site-packages/matplotlib since the new version will
not properly install over it.

We've also done some work on the look and feel of the web site, with a
new logo an a less jarring color scheme, and are in the midst of a
fairly significant
documentation effort, so if you have any interest in writing documentation or
doing website design, join us on the developers list and ash how you can
contribute.

What's new in matplotlib 0.98
=============================

This is also available on the website at
http://matplotlib.sourceforge.net/whats_new.html

better transformations
----------------------

In what has been described as open-heart surgery on matplotlib,
Michael Droettboom, supported by STScI, has rewritten the transformation
infrastructure from the ground up, which not only makes the code more
intuitive, it supports custom user projections and scales.  See
http://matplotlib.sf.net/doc/devel/add_new_projection.rst and
the http://matplotlib.sf.net/matplotlib.transforms.html module
documentation

proper paths
------------

For the first time, matplotlib supports spine paths across backends,
so you can pretty much draw anything.  See the
http://matplotlib.sf.net/creenshots.html#path_patch_demo screenshot .
Thanks again to Michael Droettboom and STScI.

histogram enhancements
----------------------

hist can handle 2D arrays and create side-by-side or stacked
histograms, as well as cumulative filled and unfilled histograms
http://matplotlib.sf.net/examples/pylab/histogram_demo_extended.py

2D histogram hexbin
-------------------

2D hexagonal bin histogramming with optional log colorscales:
http://matplotlib.sourceforge.net/examples/pylab/hexbin_demo.py

ginput function
---------------

ginput (http://matplotlib.sf.net/matplotlib.pyplot.html#-ginput) is a
blocking function for interactive use to get input from the user.  A
long requested feature submitted by Gael Varoquaux.  See
http://matplotlib.sf.net/examples/pylab/ginput_demo.py.

image optimizations
-------------------

Enhancements to speed up color mapping and panning and zooming on dense images

better savefig
--------------

savefig (http://matplotlib.sf.net/matplotlib.pyplot.html#-savefig) now
supports save to file handles (great for web app servers) or unicode
filenames on all backends

record array functions
----------------------

some more helper functions to facilitate work with record arrays: rec_groupby,
rec2txt, and rec_summarize.  These are found in matplotlib.mlab
(http://matplotlib.sf.net/matplotlib.mlab.html)

accurate elliptical arcs
------------------------

In support of the Phoenix mission to Mars, which used matplotlib in
ground tracking of the spacecraft, Michael Droettboom built on work by
Charlie Moad to provide an extremely accurate 8-spline approximation
to elliptical arcs (see
http://matplotlib.sf.net/matplotlib.patches.html#Arc-draw)win the
viewport.  This provides a scale free, accurate graph of the arc
regardless of zoom level.  See the screenshot and example at
http://matplotlib.sf.net/screenshots.html#ellipse_demo

imread enhanced
---------------

imread (http://matplotlib.sf.net/matplotlib.image.html#-imread) now
will use PIL when available to load images and return numpy arrays

backend enhancements
--------------------

* postscript : the postscript backend has clipping to paths (useful
for polar plots)

* PDF : the PDF backend handles composite glyphs properly, usetex fixes

* SVG : clip to path (useful for polar plots), inkscape cut-and-paste fixes.

* QT : Fixed a duplicate draw bug that slowed performance.  Native qt
       toolbars and status bars used for the toolbar controls

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Friedrich Hagedorn | 2 Jun 14:02
Picon
Picon
Gravatar

ugly arrow with xpdf

Hello,

when I create an arrow with

>>> from pylab import *
>>> subplot(111)
>>> arrow(.5, .5, -.05, .02, lw=5, width=.01)
>>> savefig('foo.pdf')

and view it with

  % xpdf foo.pdf

then I see on the startpoint an ugly pike. With gv and evince everything
is ok.

Any idea how to fix it in mpl? Because I dont want to switch to an other
viewer then xpdf.

Thanks,

  Friedrich

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Pierre Raybaut | 2 Jun 14:03

Qt4 backend in Matplotlib 0.98

Sorry for repeating myself... but congratulations again for the new Matplotlib release, especially for the Qt4 backend improvements. A few days ago, I was about to suggest some improvements in Qt4 backend, but what you've done is so much better.
The Matplotlib toolbar is now a real Qt toolbar, and it changes everything: appareance, integration in a complex GUI. That is a great step ahead for matplotlib widgets in Qt GUIs.
Another good reason to choose Qt4 as default backend in Matplotlib.
 
Thanks for your great work.
 
Regards,
Pierre Raybaut
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Jouni K. Seppänen | 2 Jun 14:12
Face
Picon
Picon
Picon
Favicon
Gravatar

Re: ugly arrow with xpdf

Friedrich Hagedorn <friedrich_h@...> writes:

>   % xpdf foo.pdf
>
> then I see on the startpoint an ugly pike. With gv and evince
> everything is ok.

Just to be sure about what the problem is, could you show us a
screenshot of the ugly rendering, and another of a better rendering in
another viewer? I think the list doesn't accept attachments, so it would
be best if you could put the files somewhere on the web and send a link
to the list or, failing that, send the screenshots to me by email.

Also, what exact version of xpdf are you using?

--

-- 
Jouni K. Seppänen
http://www.iki.fi/jks

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane