ImportError: cannot import name 'rcParams' · Issue #15353 · matplotlib/matplotlib · GitHub
Skip to content

ImportError: cannot import name 'rcParams' #15353

Description

@Ametorbis

When I import matplotlib in jupyter
"import matplotlib.pyplot as plt "

I get error - which shows


ImportError Traceback (most recent call last)
in
1 #%matplotlib inline
2 import numpy as np
----> 3 import matplotlib.pyplot as plt
4 import h5py # for importing the .hdf files
5 from scipy.optimize import leastsq

~\Anaconda3\lib\site-packages\matplotlib\pyplot.py in
30 from cycler import cycler
31 import matplotlib
---> 32 import matplotlib.colorbar
33 import matplotlib.image
34 from matplotlib import rcsetup, style

~\Anaconda3\lib\site-packages\matplotlib\colorbar.py in
25
26 import matplotlib as mpl
---> 27 import matplotlib.artist as martist
28 import matplotlib.cbook as cbook
29 import matplotlib.collections as collections

~\Anaconda3\lib\site-packages\matplotlib\artist.py in
10
11 import matplotlib
---> 12 from . import cbook, docstring, rcParams
13 from .path import Path
14 from .transforms import (Bbox, IdentityTransform, Transform, TransformedBbox,

ImportError: cannot import name 'rcParams'

Please help me!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions