| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Can you also add tests and a what_new entry? |
Sorry, something went wrong.
|
Hmm there seems to be a problem with removing twinx and twiny axes where the lines and ticks remain, only the numbers disappear. Will look into this later. |
Sorry, something went wrong.
|
Ok it's because the twin* methods also screw with the host axes' visibility settings. I don't know if and how this should be fixed. |
Sorry, something went wrong.
|
Are you sure you want a whats_new entry for this? Seems like more of a minor bug fix than something worth mentioning there... |
Sorry, something went wrong.
|
I like to advertise when we add long standing missing functionality. It also serves as advertisement that the remove functionality exists on all If you don't want to do it i will leave it to your judgement. On Tue, Aug 11, 2015, 7:01 PM productivememberofsociety666 <
|
Sorry, something went wrong.
|
Could you reduce the tests to only having pngs ? |
Sorry, something went wrong.
Sorry, something went wrong.
|
Regarding the failing build, I don't know why the pictures aren't close. It works on my machine with all Python versions from 2.6 to 3.4. Fonts maybe? |
Sorry, something went wrong.
|
Make sure that you don't have any funny rcparams set (which should not Also check what version of freetype you have installed against what is on On Wed, Aug 12, 2015 at 6:33 PM productivememberofsociety666 <
|
Sorry, something went wrong.
|
Can you also squash this down to remove the un-used images from the history? Part of the goal is to keep the size of the repository down. |
Sorry, something went wrong.
|
All right I took out an rcparam that set the backend to GTK3 and uploaded a slightly modified image. Now apparently all builds work except that 2.7 one due to another test failing... |
Sorry, something went wrong.
|
Your first few commits were made without setting your author info; you should update them for reasonable attribution. |
Sorry, something went wrong.
|
Build passes now although I didn't change anything. The test that failed and then magically worked was mathfont_stix_53 in test_mathext, see https://travis-ci.org/matplotlib/matplotlib/jobs/75359652. |
Sorry, something went wrong.
|
There is a race condition in the math text rendering tests that On Thu, Aug 13, 2015, 6:35 AM productivememberofsociety666 <
|
Sorry, something went wrong.
|
I think the reason that the twin* functions mess with the visibility is to prevent any artifacts from rendering nominally identical artists (the ticks) on top of each other. I think that this remove behavior should also restore the visibility settings of the host axes. Can you also check if the twin functions mutate any other data structures in the axes (I know the normal axes.Axes.twin* methods do)? That should probably be un-done as well. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Awesome 👍 Thanks for wading into this! I am not going to hold 1.5 for this PR, but have no problem with it sneaking in (it is far less disruptive than other open PRs). |
Sorry, something went wrong.
|
Looks like a great bugfix. Looks like this needs a rebase, then another run through Travis, but then I'm happy to merge. |
Sorry, something went wrong.
… updated _remove_method.
|
Rebase done! |
Sorry, something went wrong.
…_to_axes_grid1_twin_axes HostAxesBase now adds appropriate _remove_method to its parasite axes.
PR matplotlib#4898 changed the behavior of twinx() and twiny() in axes_grid1 to make them consistent with twin(). This commit inverts the "direction" of consistency and makes twin() behave like the pre-matplotlib#4898 twinx() and twiny() instead. This way, the API becomes less surprising: instead of hiding certain host axes, twin* now keeps the host axes unmodified, while the parasite axes have their axis lines hidden instead. Unfortunately, this change breaks backwards-compatibility for code relying on the specifics of host and parasite axes visibility. Helps with matplotlib#10748.
PR matplotlib#4898 changed the behavior of twinx() and twiny() in axes_grid1 to make them consistent with twin(). This commit inverts the "direction" of consistency and makes twin() behave like the pre-matplotlib#4898 twinx() and twiny() instead. This way, the API becomes less surprising: instead of hiding certain host axes, twin* now keeps the host axes unmodified, while the parasite axes have their axis lines hidden instead. Unfortunately, this change breaks backwards-compatibility for code relying on the specifics of host and parasite axes visibility. Helps with matplotlib#10748.
PR matplotlib#4898 changed the behavior of twinx() and twiny() in axes_grid1 to make them consistent with twin(). This commit inverts the "direction" of consistency and makes twin() behave like the pre-matplotlib#4898 twinx() and twiny() instead. This way, the API becomes less surprising: instead of hiding certain host axes, twin* now keeps the host axes unmodified, while the parasite axes have their axis lines hidden instead. Unfortunately, this change breaks backwards-compatibility for code relying on the specifics of host and parasite axes visibility. Helps with matplotlib#10748.
PR matplotlib#4898 changed the behavior of twinx() and twiny() in axes_grid1 to make them consistent with twin(). This commit inverts the "direction" of consistency and makes twin() behave like the pre-matplotlib#4898 twinx() and twiny() instead. This way, the API becomes less surprising: instead of hiding certain host axes, twin* now keeps the host axes unmodified, while the parasite axes have their axis lines hidden instead. Unfortunately, this change breaks backwards-compatibility for code relying on the specifics of host and parasite axes visibility. Helps with matplotlib#10748.
| Back | FazBrowse Home | New Git URL |
Fix for #4896 .
I think this should do the trick.