Warn if different axis projection requested #7604

Merged
merged 2 commits into from Dec 19, 2016

Conversation

Projects
None yet
4 participants
Contributor

dstansby commented Dec 10, 2016

A first step towards #312 (I think), without breaking any compatibility.

  • Warn if plt.polar is called and current axis doesn't have a polar projection
  • Warn if plt.gca() is called with a requested projection which is different from the axis projection

dstansby added some commits Dec 10, 2016

@dstansby dstansby Warn user if trying to use plt.polar on non-polar axis 38eebdf
@dstansby dstansby Warn if calling gca() with projection different to current projection
2aef993

tacaswell added this to the 2.1 (next point release) milestone Dec 11, 2016

Contributor

NelleV commented Dec 19, 2016

This looks good to me 👍

NelleV changed the title from Warn if different axis projection requested to [MRG+1] Warn if different axis projection requested Dec 19, 2016

QuLogic changed the title from [MRG+1] Warn if different axis projection requested to Warn if different axis projection requested Dec 19, 2016

@QuLogic QuLogic merged commit a889cff into matplotlib:master Dec 19, 2016

2 of 3 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.0009%) to 62.002%
Details

dstansby deleted the dstansby:polar-plots branch Dec 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment