Category "matplotlib"

How do I add space between the ticklabels and the axes in matplotlib

I've increased the font of my ticklabels successfully, but now they're too close to the axis. I'd like to add a little breathing room between the ticklabels an

matplotlib: Group boxplots

Is there a way to group boxplots in matplotlib? Assume we have three groups "A", "B", and "C" and for each we want to create a boxplot for both "apples" and "o

matplotlib:plot a line closed

I plot a figure as below: plt.plot(lon,lat,'ro-') plt.show() but the lines aren't closed. How can I make them closed as polygons? thank you