Last active
September 24, 2017 09:10
-
-
Save dmitryhd/111b8680306f463230bfb1a2291299d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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