Skip to content

Instantly share code, notes, and snippets.

@phrz
Last active November 20, 2017 21:15
Show Gist options
  • Save phrz/2413af9a3853d0cad2c56536b9789832 to your computer and use it in GitHub Desktop.
Save phrz/2413af9a3853d0cad2c56536b9789832 to your computer and use it in GitHub Desktop.
My matplotlib settings
import matplotlib
import seaborn as sns
plt = matplotlib.pyplot
%matplotlib inline
sns.set_style('whitegrid')
matplotlib.rcParams.update({
'figure.figsize': (10, 6), 'font.size': 16, 'axes.labelsize': 20, 'xtick.labelsize': 12,
'ytick.labelsize': 12, 'font.family': 'Helvetica,Arial,sans-serif'
})
%config InlineBackend.figure_format = 'retina'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment