Created
April 13, 2015 17:27
-
-
Save libbkmz/447ea6fa1ef45eaa2daf 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 pandas as pd | |
import numpy as np | |
%matplotlib inline | |
import matplotlib as mpl | |
# set tick width | |
mpl.rcParams['xtick.major.size'] = 10 | |
mpl.rcParams['xtick.major.width'] = 4 | |
mpl.rcParams['xtick.minor.size'] = 5 | |
mpl.rcParams['xtick.minor.width'] = 2 | |
r = pd.date_range("2015-03-13", "2015-04-10", freq="1d") | |
df = pd.DataFrame(np.zeros(r.shape[0]), index=r) | |
df.plot(figsize=(30, 6)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment