FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

DOC: missing API docs from #8032 by tacaswell · Pull Request #8285 · matplotlib/matplotlib · GitHub

Repository navigation

DOC: missing API docs from #8032 - #8285

Merged
QuLogic merged 3 commits into
matplotlib:v2.0.xfrom
tacaswell:doc_lw_scale_api_changes
Mar 18, 2017
Merged

QuLogic merged 3 commits into
matplotlib:v2.0.xfrom
tacaswell:doc_lw_scale_api_changes

Conversation

tacaswell commented Mar 13, 2017 •
edited by NelleV
Loading

Copy link
Copy Markdown
Member

missing API docs from #8032

tacaswell added this to the 2.0.1 (next bug fix release) milestone Mar 13, 2017
tacaswell added Documentation Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labels Mar 13, 2017

afvincent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

A few comments.

Additionally, I wonder if it would be useful to precise the PR that did this? (I know some other projects do this in their changelogs but I do not know if Matplotlib does)

Comment thread doc/api/api_changes/2017-02-06_TAC.rst Outdated
line width is smaller than the effective pixel size, this may result
in dashed lines turning into solid gray lines. This also required
slightly tweaking the default patterns for '--', ':', and '.-' so that
with the default line-width the final patterns would not change.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

line-width <- line width? (to be consistent with the other utterances of the expression).

Beside, it is not totally true that the new default patterns are exactly the same as before (e.g. the dotted pattern that is not a 50 %-50 % pattern anymore). Maybe the sentence should just state that the default patterns were tweaked to remain similar with the default lw value as well as to avoid “cluttering” with line widths thiner than the previous clipping boundary.

Comment thread doc/api/api_changes/2017-02-06_TAC.rst Outdated
slightly tweaking the default patterns for '--', ':', and '.-' so that
with the default line-width the final patterns would not change.

There is no way to restore the old behavior

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Closing period?

Comment thread doc/api/api_changes/2017-02-06_TAC.rst Outdated
Slightly change the algorithm to no longer clip the scaling factor,
thus the patterns will continue to shrink at thin line widths. If the
line width is smaller than the effective pixel size, this may result
in dashed lines turning into solid gray lines. This also required

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why gray?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The line was implicitly black in my head when I wrote this.

NelleV commented Mar 17, 2017

Copy link
Copy Markdown
Member

The same test is failing on three environments: do we have a problem on 2.0.x with the tests?
The documentation builds fine, so this PR by itself is fine.

NelleV changed the title DOC: missing API docs from #8032 [MRG] DOC: missing API docs from #8032 Mar 17, 2017

NelleV left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I don't know if my review counts, but this looks good to me.
LGTM 👍

NelleV changed the title [MRG] DOC: missing API docs from #8032 [MRG+1] DOC: missing API docs from #8032 Mar 17, 2017
QuLogic changed the title [MRG+1] DOC: missing API docs from #8032 DOC: missing API docs from #8032 Mar 18, 2017
QuLogic merged commit d2e813d into matplotlib:v2.0.x Mar 18, 2017
tacaswell deleted the doc_lw_scale_api_changes branch January 20, 2020 00:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL