X Tutup
Skip to content

Mnt cleanup pylab setup#6013

Merged
mdboom merged 6 commits intomatplotlib:masterfrom
tacaswell:mnt_cleanup_pylab_setup
Feb 22, 2016
Merged

Mnt cleanup pylab setup#6013
mdboom merged 6 commits intomatplotlib:masterfrom
tacaswell:mnt_cleanup_pylab_setup

Conversation

@tacaswell
Copy link
Copy Markdown
Member

No description provided.

This would be an API break, however at some point most of these
attributes were removed from the module so trying to bulk import would
raise an AttributeError.
The comment says that this is used by IPython (circa 2008) however it's
use was removed from the IPython code base in

770734dc47d57cdebc365fcbcd313e76a22be89d
Author: Brian Granger <ellisonbg@gmail.com>  2009-07-21 15:28:37

which Precedes: rel-0.11 so no supported version of IPython still
has this code.
Now that the backend resolution is done in `pylab_setup` instead of
at module import time this does not need to be imported after the call
to _backend_selection.
 - add backend as an input (maybe useful?)
 - add numpydoc style docstring
@tacaswell tacaswell added this to the 2.1 (next point release) milestone Feb 17, 2016
from matplotlib.rcsetup import interactive_bk

__all__ = ['backend','show','draw_if_interactive',
'new_figure_manager', 'backend_version']
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why get rid of this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these things are no longer exist in the module so it would raise an AttributeError.

@tacaswell
Copy link
Copy Markdown
Member Author

I left pretty through commit messages on all of these changes.

@WeatherGod
Copy link
Copy Markdown
Member

Ah, indeed. Ok, this looks fine to me. I take it none of this is supposed to be backported?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup