Skip to content

Instantly share code, notes, and snippets.

@libbkmz
Created April 13, 2015 17:27
Show Gist options
  • Save libbkmz/447ea6fa1ef45eaa2daf to your computer and use it in GitHub Desktop.
Save libbkmz/447ea6fa1ef45eaa2daf to your computer and use it in GitHub Desktop.
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