I like the clean design of the following plots (source). Particularly the offset axes and tick layout.
Apparently they were produced with R. For my own plotting I'm using a combination of matplotlib
, pandas.DataFrame.plot
and seaborn
. Is it possible to create a setting so that plots are by default layouted like this?
Previous attempts: seaborn.despine(offset=10)
offsets the axes, but it doesn't format the axes as shown. The following minimal example would be perfect if, axes would be solid black with ticks as above. Grid lines are helpful and should be kept if possible:
seaborn.set_style("whitegrid")
seaborn.load_dataset("iris")["species"].value_counts().plot(kind="bar")
seaborn.despine(offset=10)