Change Backend / Use figure toolbars
Use matplotlib figure toolbars in jupyter notebook environment.
To see what's available:
Inline / commandline plotting
Inline + Interactive
While using ipython
and a terminal that supports image rendering like kitty
magic commands also work:
Technically this should work in jupyter notebooks too.
Kitty and matplotlib
Inline + Non-interactive
I am currently using kitty
terminal. To use kitty as backend for python's matplotlib library. use the following:
-
Install it:
-
Use it (say in
ipython
or vanilapython
):
Use Latex in global scope
It will display numbers in latex format and also the formula.
Format Dates in axis
Let's say I only want to show hours and minutes in the time axis (x-axis)
python date string formats (I like to call it python date format table) are found here