Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove What's new fancy example #13685

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

Merged
merged 3 commits into from
Jun 24, 2019

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Mar 17, 2019

@timhoffm timhoffm force-pushed the remove-duplicate-fancy-examples branch from 426ca74 to d9bd2db Compare March 17, 2019 17:36
@tacaswell tacaswell added this to the v3.2.0 milestone Mar 17, 2019
@timhoffm timhoffm force-pushed the remove-duplicate-fancy-examples branch 2 times, most recently from 3dc86b3 to 17087c9 Compare March 17, 2019 20:23
@timhoffm timhoffm force-pushed the remove-duplicate-fancy-examples branch from 17087c9 to 0d68436 Compare March 24, 2019 21:44
@anntzer
Copy link
Contributor

anntzer commented Mar 24, 2019

that'll break the links at https://matplotlib.org/users/prev_whats_new/whats_new_0.98.4.html#fancy-annotations-and-arrows I think... (probably can be fixed using .. plot: instead in that file)

@timhoffm timhoffm force-pushed the remove-duplicate-fancy-examples branch from 0d68436 to 681493e Compare March 30, 2019 19:43
@timhoffm
Copy link
Member Author

Links fixed. Not by using .. plot: because embedding all the code seems a bit much and would be a duplication. I'm just linking to the remaining fancybox_demo and fancyarrow_demo.

@anntzer
Copy link
Contributor

anntzer commented Jun 12, 2019

My preference would be to leave the 0.98.4 whatsnew page appear as it does (so with a ..plot::). The duplication is not really a problem; in my view the whatsnew is just a snapshot of how matplotlib was when 0.98.4 was released.

@timhoffm
Copy link
Member Author

timhoffm commented Jun 14, 2019

@anntzer I've added a .. plot:: but it's quite large and I don't know how to size it properly.

The change is in a second commit, to be able to undo just in case. Squash if you like.

@anntzer
Copy link
Contributor

anntzer commented Jun 14, 2019

doc build is failing, probably needs a rebase? would let me see the sizing problem on circleci :)

@timhoffm timhoffm force-pushed the remove-duplicate-fancy-examples branch from d13d437 to 377f649 Compare June 14, 2019 19:14
@timhoffm
Copy link
Member Author


.. _psd-amplitude:
figheight = 8
fig = plt.figure(figsize=(9, figheight), dpi=80)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can perhaps change the size here? Dunno, but perhaps worth trying?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reduced the size, but that needed more parameter changes. Now, it's a smaller version as desired. Drawbacks:

  • The result is left aligned whereas all other plots are centered.
  • This preserves the bad layout of the original example.

I don't care too much if we take this or my first proposal with the links to up-to-date examples.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't worry about the layout, the changelog entry is what it is.
The left-alignment wouldn't be a problem if we also move the other two examples to inline in the whatsnew :p

@anntzer
Copy link
Contributor

anntzer commented Jun 19, 2019

I'll let you self-merge with or without squashing first (#13685 (comment)), up to you.

@timhoffm timhoffm merged commit 121fbfc into matplotlib:master Jun 24, 2019
@timhoffm timhoffm deleted the remove-duplicate-fancy-examples branch June 24, 2019 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.