Re: [matplotlib-devel] matplotlib user guide

2013-09-27 Thread mark
Many thanks for the feedback.

So ,my first cut was to segregate the user guide by topic.  Below is
the summary I had in mind for an Introduction for New Users.

Hopefully this gives a flavour of what I have in mind.

I will attempt to put this into practice and post again when I have a
user guide coded that might work in my view.

mark


Introducing Plotting with Matplotlib

Pyplot tutorial
Controlling line properties
Working with multiple figures and axes
Working with text
Interactive navigation
Navigation Keyboard Shortcuts
Working with text
Text introduction
Basic text commands
Text properties and layout
Writing mathematical expressions
Text rendering With LaTeX
Annotating text
Image tutorial
Startup commands
Importing image data into Numpy arrays
Plotting numpy arrays as images
Customizing Location of Subplot Using GridSpec
Basic Example of using subplot2grid
GridSpec and SubplotSpec
Adjust GridSpec layout
GridSpec using SubplotSpec
A Complex Nested GridSpec using SubplotSpec
GridSpec with Varying Cell Sizes
Legend guide
What to be displayed
Multicolumn Legend
Legend location
Multiple Legend
Legend of Complex Plots
Annotating Axes
Annotating with Text with Box
Annotating with Arrow
Placing Artist at the anchored location of the Axes
Using Complex Coordinate with Annotation
Using ConnectorPatch
Zoom effect between Axes
Define Custom BoxStyle
Our Favorite Recipes
Sharing axis limits and views
Easily creating subplots
Fixing common date annoyances
Fill Between and Alpha
Transparent, fancy legends
Placing text boxes

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] 1.3.1rc1 tagged

2013-09-27 Thread Michael Droettboom
I have tagged a 1.3.1 release candidate.  Congrats to everyone who 
reported bugs and worked hard to fix them for this release.

As this is only a bugfix release, it should hopefully not take as long 
to get through the release candidate process.  I hope to hear from all 
the packagers over the next week or two, and barring no issues, I will 
tag this as 1.3.1 final.

The tarball is available here:

https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1rc1.tar.gz

The changelog is copied below:

New in 1.3.1


1.3.1 is a bugfix release, primarily dealing with improved setup and
handling of dependencies, and correcting and enhancing the
documentation.

The following changes were made in 1.3.1 since 1.3.0.

Enhancements


- Added a context manager for creating multi-page pdfs (see
   `matplotlib.backends.backend_pdf.PdfPages`).

- The WebAgg backend should no have lower latency over heterogeneous
   Internet connections.

Bug fixes
`

- Histogram plots now contain the endline.

- Fixes to the Molleweide projection.

- Handling recent fonts from Microsoft and Macintosh-style fonts with
   non-ascii metadata is improved.

- Hatching of fill between plots now works correctly in the PDF
   backend.

- Tight bounding box support now works in the PGF backend.

- Transparent figures now display correctly in the Qt4Agg backend.

- Drawing lines from one subplot to another now works.

- Unit handling on masked arrays has been improved.

Setup and dependencies
``

- Now works with any version of pyparsing 1.5.6 or later, without displaying
   hundreds of warnings.

- Now works with 64-bit versions of Ghostscript on MS-Windows.

- When installing from source into an environment without Numpy, Numpy
   will first be downloaded and built and then used to build
   matplotlib.

- Externally installed backends are now always imported using a
   fully-qualified path to the module.

- Works with newer version of wxPython.

- Can now build with a PyCXX installed globally on the system from source.

- Better detection of Gtk3 dependencies.

Testing
```

- Tests should now work in non-English locales.

- PEP8 conformance tests now report on locations of issues.

-- 
_
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.3.1rc1 tagged

2013-09-27 Thread Christoph Gohlke
Hello,

`matplotlib-1.3.1rc1.tar.gz\matplotlib-1.3.1rc1\lib\matplotlib.egg-info\SOURCES.txt`
 
contains absolute paths to `/usr/src/CXX/*.cxx` files and therefore 
distutils fails to build installers on Windows. Deleting the .egg-info 
directory works for me.

Christoph


On 9/27/2013 10:20 AM, Michael Droettboom wrote:
> I have tagged a 1.3.1 release candidate.  Congrats to everyone who
> reported bugs and worked hard to fix them for this release.
>
> As this is only a bugfix release, it should hopefully not take as long
> to get through the release candidate process.  I hope to hear from all
> the packagers over the next week or two, and barring no issues, I will
> tag this as 1.3.1 final.
>
> The tarball is available here:
>
> https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1rc1.tar.gz
>
>
> The changelog is copied below:
>
> New in 1.3.1
> 
>
> 1.3.1 is a bugfix release, primarily dealing with improved setup and
> handling of dependencies, and correcting and enhancing the
> documentation.
>
> The following changes were made in 1.3.1 since 1.3.0.
>
> Enhancements
> 
>
> - Added a context manager for creating multi-page pdfs (see
>`matplotlib.backends.backend_pdf.PdfPages`).
>
> - The WebAgg backend should no have lower latency over heterogeneous
>Internet connections.
>
> Bug fixes
> `
>
> - Histogram plots now contain the endline.
>
> - Fixes to the Molleweide projection.
>
> - Handling recent fonts from Microsoft and Macintosh-style fonts with
>non-ascii metadata is improved.
>
> - Hatching of fill between plots now works correctly in the PDF
>backend.
>
> - Tight bounding box support now works in the PGF backend.
>
> - Transparent figures now display correctly in the Qt4Agg backend.
>
> - Drawing lines from one subplot to another now works.
>
> - Unit handling on masked arrays has been improved.
>
> Setup and dependencies
> ``
>
> - Now works with any version of pyparsing 1.5.6 or later, without
> displaying
>hundreds of warnings.
>
> - Now works with 64-bit versions of Ghostscript on MS-Windows.
>
> - When installing from source into an environment without Numpy, Numpy
>will first be downloaded and built and then used to build
>matplotlib.
>
> - Externally installed backends are now always imported using a
>fully-qualified path to the module.
>
> - Works with newer version of wxPython.
>
> - Can now build with a PyCXX installed globally on the system from source.
>
> - Better detection of Gtk3 dependencies.
>
> Testing
> ```
>
> - Tests should now work in non-English locales.
>
> - PEP8 conformance tests now report on locations of issues.
>

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.3.1rc1 tagged

2013-09-27 Thread Christoph Gohlke
On 9/27/2013 10:20 AM, Michael Droettboom wrote:
> - Now works with 64-bit versions of Ghostscript on MS-Windows.

Not really. gswin64c.exe is detected in __init__.py but apparently not 
used in the PS backend:

https://github.com/matplotlib/matplotlib/blob/v1.3.x/lib/matplotlib/__init__.py#L341
https://github.com/matplotlib/matplotlib/blob/v1.3.x/lib/matplotlib/backends/backend_ps.py#L73
https://github.com/matplotlib/matplotlib/blob/v1.3.x/lib/matplotlib/backends/backend_ps.py#L1620

Christoph

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.3.1rc1 tagged

2013-09-27 Thread Michael Droettboom
Thanks for letting me know -- obviously not good.  I'll have a look.

Mike

On 09/27/2013 01:45 PM, Christoph Gohlke wrote:
> Hello,
>
> `matplotlib-1.3.1rc1.tar.gz\matplotlib-1.3.1rc1\lib\matplotlib.egg-info\SOURCES.txt`
>  
> contains absolute paths to `/usr/src/CXX/*.cxx` files and therefore 
> distutils fails to build installers on Windows. Deleting the .egg-info 
> directory works for me.
>
> Christoph
>
>
> On 9/27/2013 10:20 AM, Michael Droettboom wrote:
>> I have tagged a 1.3.1 release candidate. Congrats to everyone who
>> reported bugs and worked hard to fix them for this release.
>>
>> As this is only a bugfix release, it should hopefully not take as long
>> to get through the release candidate process.  I hope to hear from all
>> the packagers over the next week or two, and barring no issues, I will
>> tag this as 1.3.1 final.
>>
>> The tarball is available here:
>>
>> https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1rc1.tar.gz
>>  
>>
>>
>>
>> The changelog is copied below:
>>
>> New in 1.3.1
>> 
>>
>> 1.3.1 is a bugfix release, primarily dealing with improved setup and
>> handling of dependencies, and correcting and enhancing the
>> documentation.
>>
>> The following changes were made in 1.3.1 since 1.3.0.
>>
>> Enhancements
>> 
>>
>> - Added a context manager for creating multi-page pdfs (see
>>`matplotlib.backends.backend_pdf.PdfPages`).
>>
>> - The WebAgg backend should no have lower latency over heterogeneous
>>Internet connections.
>>
>> Bug fixes
>> `
>>
>> - Histogram plots now contain the endline.
>>
>> - Fixes to the Molleweide projection.
>>
>> - Handling recent fonts from Microsoft and Macintosh-style fonts with
>>non-ascii metadata is improved.
>>
>> - Hatching of fill between plots now works correctly in the PDF
>>backend.
>>
>> - Tight bounding box support now works in the PGF backend.
>>
>> - Transparent figures now display correctly in the Qt4Agg backend.
>>
>> - Drawing lines from one subplot to another now works.
>>
>> - Unit handling on masked arrays has been improved.
>>
>> Setup and dependencies
>> ``
>>
>> - Now works with any version of pyparsing 1.5.6 or later, without
>> displaying
>>hundreds of warnings.
>>
>> - Now works with 64-bit versions of Ghostscript on MS-Windows.
>>
>> - When installing from source into an environment without Numpy, Numpy
>>will first be downloaded and built and then used to build
>>matplotlib.
>>
>> - Externally installed backends are now always imported using a
>>fully-qualified path to the module.
>>
>> - Works with newer version of wxPython.
>>
>> - Can now build with a PyCXX installed globally on the system from 
>> source.
>>
>> - Better detection of Gtk3 dependencies.
>>
>> Testing
>> ```
>>
>> - Tests should now work in non-English locales.
>>
>> - PEP8 conformance tests now report on locations of issues.
>>


-- 
_
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.3.1rc1 tagged

2013-09-27 Thread Michael Droettboom
On 09/27/2013 02:27 PM, Christoph Gohlke wrote:
> On 9/27/2013 10:20 AM, Michael Droettboom wrote:
>> - Now works with 64-bit versions of Ghostscript on MS-Windows.
> Not really. gswin64c.exe is detected in __init__.py but apparently not
> used in the PS backend:
>
> https://github.com/matplotlib/matplotlib/blob/v1.3.x/lib/matplotlib/__init__.py#L341
> https://github.com/matplotlib/matplotlib/blob/v1.3.x/lib/matplotlib/backends/backend_ps.py#L73
> https://github.com/matplotlib/matplotlib/blob/v1.3.x/lib/matplotlib/backends/backend_ps.py#L1620
>

Thanks for pointing this out.  The original bug I think was related to 
not being able to run the tests.  The ps backend should be updated to 
use the same ghostscript finding routines as elsewhere. I'll get this 
taken care of for 1.3.1rc2.

Mike

-- 
_
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel