4 ms·
When it comes to plot colors in matplotlib, it's why I start with import seaborn as sns to get a nice plot theme, not "good old 90s" style. See: https://speak
by stared 10y ago
When it comes to plot colors in matplotlib, it's why I start with
import seaborn as sns
to get a nice plot theme, not "good old 90s" style. See: https://speakerdeck.com/pmigdal/teaching-machine-learning?slide=5 https://speakerdeck.com/pmigdal/teaching-machine-learning?sl...
- serialx 10y agoThis, changes everything. The theme seaborn uses is actually a direct clone from ggplot2 from R
- stared 10y agoYes. Though, I think that 'whitegrid' is a cleaner theme (if there were axes). For ggplot theme, in matplotlib there is plt.style.use('ggplot') (see also: http://pandas.pydata.org/pandas-docs/stable/visualization.html http://pandas.pydata.org/pandas-docs/stable/visualization.ht...).
- gammarator 10y ago'ticks' plus sns.despine() is my favorite.