Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Overview & Use Cases

Give Feedback

Learn more about Jupyter notebooks in our dedicated course: Using Jupyter Notebooks

angellondres500 on Feb. 19, 2020

I got this error sageError: Line magic function %matplolib not found.

Could please tell me how to fix Thanks Angel

Martin Breuss RP Team on Feb. 19, 2020

Hi @angellondres500. It is possible that you are using an old version of ipython that doesn’t yet support this specific magic function.

Check with:

import IPython
print(IPython.sys_info())

Your version should be above 1.0. If it isn’t try updating ipython with the package manager you used to install it (e.g. conda or pip).

If that doesn’t solve your problem, try some other suggestions e.g. in this StackOverflow thread. Remember that it often helps to search for your exact error message and try out some of the solutions people are suggesting online. Hope that helps!

Geir Arne Hjelle RP Team on Feb. 19, 2020

@angellondres500 It might be that you have a typo, it seems you’re missing a t in your command: It should be %matplotlib.

Martin Breuss RP Team on Feb. 19, 2020

Great eye for spotting that typo @Geir Arne Hjelle! And completely besides the point, I’d be interested to see someone hack together a new package called matpLOLlib 😜

gdwl on Feb. 27, 2020

Just a note to be careful with typos in package names. It has been known for malicious code to sneak in with names subtly changed from the expected ones. Twelve cases were found on PyPI back in 2018.

Martin Breuss RP Team on Feb. 28, 2020

Thanks for mentioning that @gdwl. Indeed, installing a mistyped package can be a security vulnerability. When these attacks are done intentionally it is called “typo-squatting”. So it helps to train that 🦅👁 like @Geir Arne Hjelle.

Become a Member to join the conversation.