-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Perf attrib tearsheets #441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -612,7 +612,7 @@ def get_symbol_rets(symbol, start=None, end=None): | |
end=end) | ||
|
||
|
||
def set_legend_location(ax): | ||
def set_legend_location(ax, autofmt_xdate=True): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we ever pass There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we don't as of now, I wanted to pass it as an option in case we want to handle formatting elsewhere in future plots |
||
""" | ||
Put legend in right of plot instead of overlapping with it. | ||
""" | ||
|
@@ -622,3 +622,8 @@ def set_legend_location(ax): | |
|
||
ax.legend(frameon=True, framealpha=0.5, loc='upper left', | ||
bbox_to_anchor=(1.05, 1)) | ||
|
||
ax.set_prop_cycle('color', COLORS) | ||
|
||
if autofmt_xdate: | ||
ax.figure.autofmt_xdate() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this was just unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup