Category "matplotlib"

How does one set keyword "block" in plt.show() equal to True by default?

For some reason, I need to set the keyword "block" equal to True explicitly, so that plots are shown when I run a script from the bash shell. (I don't need that

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

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