-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
Moved timeseries peek to plot() #5200
Conversation
Hello @jeffreypaul15! Thanks for updating this PR.
Comment last updated at 2021-06-20 12:40:28 UTC |
@ayshih Is this something along the lines of what we want? |
This looks like something we want, tho It will need to be done for each time series source since they all have their own peek method. |
Yeah, I just made the change for this one source to confirm if this is what we want. Shall I go about with the rest? |
Sure |
@nabobalis I've added all the TimeSeries sources, but like I mentioned, this does override the |
You mean it overloads it? |
No, I am overriding the plot method right |
I don't see the issue. What would be the problem. |
We lose that functionality, basically the ability to call the base plot method. Is that fine? |
Don't see why not. |
What changelog would this PR require? |
Not sure. It feels kind of breaking to make plot do all this formatting but it doesn't actually break anything. |
Shall I go with feature then? |
Sure. |
Need to word the changelog better, please make the required changes. |
@nabobalis I don't suppose extra tests are needed right? The test for |
No it should be ok. |
@nabobalis Anything else to be done in this PR? |
It will need a review. |
Maybe? Just add the colours and cycle through them. |
|
I guess we add it then? |
I've added the exact colours that are cycled, rotated the xticks to match and also updated the docs figure to be of a |
bc389f8
to
18115c2
Compare
@nabobalis A few sources (lyra and fermi_gbm) derive their title from the dataframe : |
18115c2
to
e4d3b61
Compare
Sure. |
Can this be squash merged and rebased please? |
e4d3b61
to
218e4d2
Compare
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.
Undoing my approval.
@nabobalis These differences are resolved in this PR right? |
I will double check I had checked out the correct code but this was from my attempt at testing this PR. |
Sure, the current release version has the same differences that you've mentioned |
I had sunpy installed twice in my env and this created the conflict. |
Thanks again @jeffreypaul15 |
Description
Fixes #5066
Drawing parallels from GenericMap, I suppose this is along the lines of what we want?
This does override the base
plot()
method defined for TimeSeries though.