Repository navigation
Stackplot - #818
Stackplot#818dmcdougall wants to merge 8 commits into
Conversation
Conflicts: CHANGELOG
Conflicts: CHANGELOG
Stackplot adds the feature request in issue matplotlib#359 (matplotlib#359) and borrows heavily from Doug Y'barbo's stackoverflow answer (http://stackoverflow.com/questions/2225995/how-can-i-create-stacked-line-graph-with-matplotlib).
|
Woah! Eight commits?!?? Anybody have any idea how I can fix this? Only the last two commits are relevant. The trisurf code was from and old pull request that was merged into master. |
|
You could use interactive rebasing---something like: And then, in the interactive prompt, change That said, it's generally frowned upon to rebase after pushing changes to a remote (where other people could have already forked your repo, and then the fork will be completely off after the rebase). I doubt it's much of an issue here, but I just thought I'd mention it. |
|
Hmmm, but then the |
|
Oh, so the This stackoverflow response suggests creating a new branch based off of |
|
Yes and no. I had made a branch called trisurf and filed a pull request from it. That code was merged by Ben Root into upstream/master. Now, instead of deleting my local trisurf branch, I merged it into my master branch. Then when I fetched the upstream branch (which contained my changes anyway) I resolved all the conflicts using the '--theirs' strategy. So as far as I understand, the code in my local master branch and the code in the upstream/master branch is identical. I guess when I created the stackplot branch and filed this PR, it wants to merge everything where the commit histories differ. That stack overflow answer would work as I want it to, thanks for that. How would I fix my master branch so the histories match, too? Would this do what I expect? git checkout master; git revert HEAD~9; git fetch upstream; git merge upstream/master Damon McDougall On Saturday, 7 April 2012 at 12:36, tonysyu wrote:
|
|
Alright, let's try this again. This time with a bajillion commits. |
Added new plot style: stackplot.
This addresses issue #359.
I've also added an example so you can try it out. If you don't want to try it out, I've attached the example output:
Feedback always greatly appreciated.