Example of matplotlib artists

Hi,

I am working on a presentation on matplotlib API and its application to create non-trivial data visualizations.

I wrote a script to show some matplotlib artists and I thought it would fit nice the matplotlib examples. If you are interested, please find the script in the attachment. I will be also happy to hear your suggestions and opinions.

Regards,

Bartosz

Bartosz Telenczuk

Institute for Theoretical Biology
Humboldt University of Berlin
Germany
http://neuroscience.telenczuk.pl

artists.py (3.36 KB)

Great - nice example. I added it to svn so it will show up in the
gallery and examples directory next time we update the website. In
svn it is in examples/api/artist_demo.py.

Another way to do this which might simplify the layout would be to use
1 axes (with the frame and axes off) for each artist, and use either
the title or xlabel to label them.

JDH

ยทยทยท

On Wed, Sep 22, 2010 at 6:37 AM, Bartosz Telenczuk <b.telenczuk@...2786...> wrote:

Hi,

I am working on a presentation on matplotlib API and its application to create non-trivial data visualizations.

I wrote a script to show some matplotlib artists and I thought it would fit nice the matplotlib examples. If you are interested, please find the script in the attachment. I will be also happy to hear your suggestions and opinions.

Great - nice example. I added it to svn so it will show up in the
gallery and examples directory next time we update the website. In
svn it is in examples/api/artist_demo.py.

I am glad you like it.

Another way to do this which might simplify the layout would be to use
1 axes (with the frame and axes off) for each artist, and use either
the title or xlabel to label them.

Right. I guess I could have done it this way, but originally I put the artists in figure container and not on the axes.

Regards,

Bartosz