Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ranaroussi committed Oct 5, 2019
1 parent 8b9c61b commit a646741
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions quantstats/_plotting/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ def snapshot(returns, grayscale=False, figsize=(10, 8),
size = list(_plt.gcf().get_size_inches())
figsize = (size[0], size[0]*.75)

fig, axes = _plt.subplots(3, 1, sharex=True,
figsize=figsize,
frameon=False,
fig, axes = _plt.subplots(3, 1, sharex=True, figsize=figsize,
gridspec_kw={'height_ratios': [3, 1, 1]})

for item in axes:
item.patch.set_visible(False)

fig.suptitle(title, fontsize=14, y=.995,
fontname=fontname, fontweight='bold', color='black')

Expand Down

0 comments on commit a646741

Please sign in to comment.