Easily label line(s) using matplotlib. The code is heavily based on http://stackoverflow.com/questions/16992038/inline-labels-in-matplotlib (original code from ...
Label padding around the axes depends on the length of the label when figure is saved as pdf. The below code creates a figure and adds labels of different length. Those labels are not well aligned in ...
It is possible to set a logarithmic scale for one or both axes. This functionality is in fact only one application of a more general transformation system in Matplotlib. Each of the axes' scales are ...