Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
What does % mean when it's placed at the beginning of a code in Python?
Asked
Mar 08 '22 at 22:27
Active
Mar 08 '22 at 22:30
Viewed
36 times
0
Python code: %matplotlib notebook
Regarding the above code in Python, what does % mean?
python
python-3.x
edited Mar 08 '22 at 22:30
khelwood
52,115
13
74
94
asked Mar 08 '22 at 22:27
Guofeng Wu
1
1
2
That's not *Python* code; it is a special notation that is handled by the ipython shell, as demonstrated in the link provided by @TedKleinBergman.
–
Warren Weckesser
Mar 08 '22 at 22:32
0 Answers
0