From Matplotlib
Matplotlib contains a number of tools that can graphically model SAP Business One data after being fed a data frame From Pandas.
Using PyPlot
Before any Matplotlib tool, such as pyplot, can be used, it must be imported:from matplotlib import pyplot as plt
Once a Pandas data frame is obtained, it can be used to create a plot visualizing SAP Business One data. For example, the following plot generates and displays a bar graph relating DocEntry and DocNum values:
df.plot(kind="bar", x="DocEntry", y=["DocNum"]) plt.show()