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

Skip to content

Don't revalidate original rcParams when exiting rc_context. #8962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Minor reordering of imports.
  • Loading branch information
anntzer committed Jul 30, 2017
commit 098159c013ba8abf4bb7c67caa3e00d7bf49ed13
18 changes: 9 additions & 9 deletions lib/matplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,22 @@
unicode_literals)

import six
import sys
import distutils.version
from itertools import chain

from collections import MutableMapping
import contextlib
import distutils.version
import distutils.sysconfig
import functools
import io
import inspect
import itertools
import locale
import os
import re
import sys
import tempfile
import warnings
import contextlib
import distutils.sysconfig
import functools

# cbook must import matplotlib only within function
# definitions, so it is safe to import from it here.
from . import cbook
Expand Down Expand Up @@ -798,9 +799,8 @@ def gen_candidates():
# The following may use a value of None to suppress the warning.
_deprecated_set = {'axes.hold'} # do NOT include in _all_deprecated

_all_deprecated = set(chain(_deprecated_ignore_map,
_deprecated_map,
_obsolete_set))
_all_deprecated = set(itertools.chain(
_deprecated_ignore_map, _deprecated_map, _obsolete_set))


class RcParams(MutableMapping, dict):
Expand Down