October 2018
Beginner to intermediate
676 pages
18h 30m
English
Once you have copied basic_units.py into your working directory, you can start using all the functions available there.
Import the required libraries. Here, we are introducing two other features of Matplotlib, lines, which has objects for drawing lines, and text, which is used to annotate objects on the chart:
import matplotlib.lines as linesimport matplotlib.text as textfrom basic_units import cm, inchimport matplotlib.pyplot as plt
Read now
Unlock full access