Plots string using matplotlib.
It will initialize the required variable and generate a dictionary which is used to make plot.
init((x,y))
x,y : Int or Float : Optional
Here x and y are the margin from the origin.
It plots the string passed in it using the dictionary generated by 'init'. One can use multiple 'write' functions before 'show' to plot the string.
write(str_to_plot)
str_to_plot : String
It displays the plot. As it is not necessary in matplotlib that axes start from origin (0,0), it can be set to origin by passing argument to show. To see the effect of margin given in init, 'show' should be used passed with the argument True.
show(bool)
bool : Boolean : Optional
See information about these functions.