r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

Show parent comments

4

u/[deleted] Aug 05 '19

Don't forget, in some environments, you'll also need

%matplotlib inline

2

u/lava12005 Aug 06 '19

I am guessing that the environment is not of the earth.. XD

5

u/[deleted] Aug 06 '19

On a Jupiter where there be Pythons

1

u/Mr_Again Aug 06 '19

This is really a feature of how jupyter displays charts, %magic is not a part of python or matlab at all.

1

u/[deleted] Aug 06 '19

Eh, %magic is ipython mostly, and matlab has some hidden magic