Skip to content

Instantly share code, notes, and snippets.

@dmitryhd
Last active September 24, 2017 09:10
Show Gist options
  • Select an option

  • Save dmitryhd/111b8680306f463230bfb1a2291299d1 to your computer and use it in GitHub Desktop.

Select an option

Save dmitryhd/111b8680306f463230bfb1a2291299d1 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
import matplotlib
import seaborn as sns
%matplotlib inline
plt.rcParams["figure.figsize"] = (12., 7.)
%config InlineBackend.figure_format = 'retina'
sns.set_style('dark')
matplotlib.rc('font', family='Arial') # in case of missing cyrillic fonts
import warnings; warnings.filterwarnings("ignore") # font warning
import pandas as pd
pd.set_option('display.width', 1000)
pd.set_option('display.max_columns', 500)
# how to control size
plt.gcf().set_figsize_inches((6, 3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment