0

I am installing matplotlib with pip install matplotlib on a juypter hub instance.

When I go to import I get the following error:

----> 4 import matplotlib.plot as plt 5 import seaborn as sns

ModuleNotFoundError: No module named 'matplotlib.plot'

I couldn’t find anything on here. I have tried to manually install via command line on Linux from git but that didn’t seem to work either. Any help would be great.

Thank you.

1
  • 3
    You probably meant import matplotlib.pyplot as plt Commented Apr 29, 2022 at 17:08

1 Answer 1

1

The proper command is import matplotlib.pyplot. If everything is correctly installed it shoud work.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.