Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hist2d() is now using pcolormesh instead of pcolorfast#4625

Closed
jankoeh wants to merge 1 commit into
matplotlib:masterfrom
jankoeh:master
Closed

hist2d() is now using pcolormesh instead of pcolorfast#4625
jankoeh wants to merge 1 commit into
matplotlib:masterfrom
jankoeh:master

Conversation

@jankoeh

@jankoeh jankoeh commented Jul 11, 2015

Copy link
Copy Markdown

Pull request in response to issue #4615

@tacaswell tacaswell added this to the proposed next point release milestone Jul 11, 2015
@efiring

efiring commented Jul 11, 2015

Copy link
Copy Markdown
Member

Interesting, this evidently changed the test image slightly. This might be related to #4584; it suggests there are inconsistencies in snapping or rounding among our various Artists. It looks like the problem here is only in the pdf. In this test the grid is regular, so pcolorfast was using AxesImage in the baseline image.

@WeatherGod

Copy link
Copy Markdown
Member

AxesImage is subtly different from the pcolors in that coordinates are
pixel centers versus pixel corners. Does pcolorfast take that into account?

On Sat, Jul 11, 2015 at 1:50 PM, Eric Firing [email protected]
wrote:

Interesting, this evidently changed the test image slightly. This might be
related to #4584 #4584;
it suggests there are inconsistencies in snapping or rounding among our
various Artists. It looks like the problem here is only in the pdf. In this
test the grid is regular, so pcolorfast was using AxesImage in the baseline
image.


Reply to this email directly or view it on GitHub
#4625 (comment)
.

@WeatherGod

Copy link
Copy Markdown
Member

Also note that this would be an API change if accepted.

On Sat, Jul 11, 2015 at 5:02 PM, Benjamin Root [email protected] wrote:

AxesImage is subtly different from the pcolors in that coordinates are
pixel centers versus pixel corners. Does pcolorfast take that into account?

On Sat, Jul 11, 2015 at 1:50 PM, Eric Firing [email protected]
wrote:

Interesting, this evidently changed the test image slightly. This might
be related to #4584
#4584; it suggests
there are inconsistencies in snapping or rounding among our various
Artists. It looks like the problem here is only in the pdf. In this test
the grid is regular, so pcolorfast was using AxesImage in the baseline
image.


Reply to this email directly or view it on GitHub
#4625 (comment)
.

@efiring

efiring commented Jul 11, 2015

Copy link
Copy Markdown
Member

@WeatherGod, Yes, pcolorfast does take into account the way AxesImage works. The travis failure is coming from a very subtle shift in some boundaries in the pdf output.

@petehuang

Copy link
Copy Markdown
Contributor

@efiring @WeatherGod did you happen to remember if you were leaning towards merging or more discussion at last comment?

@efiring

efiring commented Jan 10, 2017

Copy link
Copy Markdown
Member

The test image would have to be changed. Once this is rebased and all tests pass, I would favor merging it. It would be nice to fix pcolorfast to work correctly with log scales, but that's a bigger job.
I don't see why this would be considered an API change.

@WeatherGod

WeatherGod commented Jan 10, 2017 via email

Copy link
Copy Markdown
Member

@dopplershift

Copy link
Copy Markdown
Contributor

I agree that it would be an API change; not a particularly disruptive one, but by definition, return types are part of the API.

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Sep 24, 2017
@jklymak

jklymak commented Dec 12, 2017

Copy link
Copy Markdown
Member

Closing in lieu of #9987. Umm, this is slightly rude, as @jankoeh no longer gets credit for the PR. Happy to close my new one and have them either re-opne and get this one up to snuff, or have them open a new one. In either case, @jankoeh thanks a lot for this!

@jklymak jklymak closed this Dec 12, 2017
@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0, v3.0 Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants