1.2.0rc2 is tagged and uploaded

In article <506092FE.3020905@...31...>,
Michael Droettboom <mdroe@...31...>
wrote:

For the compilation problem, I am no Objective-C expert, but in C, line
3557 should certainly read:

     NSSize pxlSize = NSMakeSize(rep->pixelsWide, rep->pixelsHigh);

I wonder if that fixes it -- but that's a total stab in the dark. This
was a part of the code that was changed quite recently.

I opened issue #1304
<https://github.com/matplotlib/matplotlib/issues/1304>
but did not append your comment.

-- Russell

Fixed in https://github.com/matplotlib/matplotlib/pull/1305.

···

On Mon, Sep 24, 2012 at 7:23 PM, Russell E. Owen <rowen@...748...> wrote:

In article <506092FE.3020905@...31...>,
Michael Droettboom <mdroe@...31...>
wrote:

For the compilation problem, I am no Objective-C expert, but in C, line
3557 should certainly read:

     NSSize pxlSize = NSMakeSize(rep->pixelsWide, rep->pixelsHigh);

I wonder if that fixes it -- but that's a total stab in the dark. This
was a part of the code that was changed quite recently.

I opened issue #1304
<https://github.com/matplotlib/matplotlib/issues/1304>
but did not append your comment.

--
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

Could you please change in the current branch in

axes.py, line 7585
(Axes.pcolorfast)

         nr, nc = C.shape
to
         nr, nc = C.shape[:2]

this way one can pass [nx,ny,3] or [nx,ny,4] arrays to the routine - for which the PcolorImage it calls is made (style == "pcolorimage")

-Alexander

I am not sure what I need to do to get any bug fixes included into mpl.
All previous attempts failed.
Is it a community effort?

I now attached a patch.

-Alexander

0001-BF-fix-pcolor-fast-to-allow-direct-color.patch (750 Bytes)

···

On 25/09/12 23:58, Alexander Heger wrote:

Could you please change in the current branch in

axes.py, line 7585
(Axes.pcolorfast)

          nr, nc = C.shape
to
          nr, nc = C.shape[:2]

this way one can pass [nx,ny,3] or [nx,ny,4] arrays to the routine - for
which the PcolorImage it calls is made (style == "pcolorimage")

-Alexander

------------------------------------------------------------------------------
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. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

I am not sure what I need to do to get any bug fixes included into mpl.

The most efficient way is with a pull request. And perhaps a little patience combined with persistence.

All previous attempts failed.
Is it a community effort?

Yes, but that doesn't mean that every suggested change will be accepted, or even reviewed right away.

I now attached a patch.

Thank you.

I will comment on github.
https://github.com/matplotlib/matplotlib/issues/1317

Eric

···

On 2012/09/27 7:13 PM, Alexander Heger wrote:

-Alexander

On 25/09/12 23:58, Alexander Heger wrote:

Could you please change in the current branch in

axes.py, line 7585
(Axes.pcolorfast)

          nr, nc = C.shape
to
          nr, nc = C.shape[:2]

this way one can pass [nx,ny,3] or [nx,ny,4] arrays to the routine - for
which the PcolorImage it calls is made (style == "pcolorimage")

-Alexander