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

Sign up
Appearance settings

Amended Transcription #28579

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

Closed
ENUMERA8OR wants to merge 14 commits into matplotlib:main from ENUMERA8OR:main
Closed

Amended Transcription #28579

ENUMERA8OR wants to merge 14 commits into matplotlib:main from ENUMERA8OR:main

Conversation

Copy link

@ENUMERA8OR ENUMERA8OR commented Jul 15, 2024
edited
Loading

Amended transcription(spelling errors) in various & Moved the important dependency lines towards the very top of the file for better import in matplotlib/galleries/users_explain/quick_start.py

@github-actions github-actions bot added Documentation: user guide files in galleries/users_explain or doc/users Documentation: API files in lib/ and doc/api labels Jul 15, 2024
Moved the important dependency lines towards the very top of the file for better import.
Comment on lines 16 to 17
import matplotlib.pyplot as plt
import numpy as np
Copy link
Member

Choose a reason for hiding this comment

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

This is input for a sphinx-gallery based tutorial. The module docstring provides the tutorial heading and imports should not be above that.

Copy link
Author

@ENUMERA8OR ENUMERA8OR Sep 17, 2024

Choose a reason for hiding this comment

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

Resolved

Copy link
Member

@timhoffm timhoffm left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

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

I don't know what the title of this PR is supposed to mean; please rename it to something descriptive.

Copy link
Author

Made the changes please check...

Copy link
Author

A call to maintainers, please check the changes.

@@ -800,7 +800,7 @@ Changes in parameter names
`.bezier.split_bezier_intersecting_with_closedpath`,
``bezier.find_r_to_boundary_of_closedpath``,
`.bezier.split_path_inout` and `.bezier.check_if_parallel` has been renamed to
*tolerance*.
Copy link
Member

@tacaswell tacaswell Aug 29, 2024

Choose a reason for hiding this comment

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

tolerance is the spelling in the source, please drop this change, e.g.

def find_bezier_t_intersecting_with_closedpath(
bezier_point_at_t, inside_closedpath, t0=0., t1=1., tolerance=0.01):

so this change needs to be reverted.

Copy link
Author

@ENUMERA8OR ENUMERA8OR Sep 17, 2024

Choose a reason for hiding this comment

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

Resolved

@@ -918,7 +918,7 @@ Pull Requests (1066):
* :ghpull:`16277`: Prefer using MouseButton to numeric values in docs and defaults.
* :ghpull:`16270`: numpydoc-ify SymLogNorm
* :ghpull:`16274`: Tiny cleanups to set_xlabel(..., loc=...).
* :ghpull:`16273`: DOC: Changing the spelling of co-ordinates.
* :ghpull:`16273`: DOC: Changing the spelling of coordinates.
Copy link
Member

Choose a reason for hiding this comment

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

Except for this one; the PR was updating the spelling, so the original is correct there.

Copy link
Author

@ENUMERA8OR ENUMERA8OR Sep 17, 2024

Choose a reason for hiding this comment

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

Resolved

Copy link
Author

@ENUMERA8OR ENUMERA8OR left a comment

Choose a reason for hiding this comment

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

Resolved as per maintainers suggestions

A call to maintainers, please check the changes.

@@ -918,7 +918,7 @@ Pull Requests (1066):
* :ghpull:`16277`: Prefer using MouseButton to numeric values in docs and defaults.
* :ghpull:`16270`: numpydoc-ify SymLogNorm
* :ghpull:`16274`: Tiny cleanups to set_xlabel(..., loc=...).
* :ghpull:`16273`: DOC: Changing the spelling of co-ordinates.
* :ghpull:`16273`: DOC: Changing the spelling of coordinates.
Copy link
Author

@ENUMERA8OR ENUMERA8OR Sep 17, 2024

Choose a reason for hiding this comment

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

Resolved

Comment on lines 16 to 17
import matplotlib.pyplot as plt
import numpy as np
Copy link
Author

@ENUMERA8OR ENUMERA8OR Sep 17, 2024

Choose a reason for hiding this comment

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

Resolved

@@ -800,7 +800,7 @@ Changes in parameter names
`.bezier.split_bezier_intersecting_with_closedpath`,
``bezier.find_r_to_boundary_of_closedpath``,
`.bezier.split_path_inout` and `.bezier.check_if_parallel` has been renamed to
*tolerance*.
Copy link
Author

@ENUMERA8OR ENUMERA8OR Sep 17, 2024

Choose a reason for hiding this comment

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

Resolved

Copy link
Author

ENUMERA8OR commented Sep 17, 2024
edited
Loading

A call to maintainers please check. @tacaswell @QuLogic @timhoffm @jiahao

Copy link
Member

Hi @ENUMERA8OR , it seems like there are a number of failing tests and linting checks that need to be resolved here - addressing these first will help with getting reviews.

Also, as suggested above, changing the title of your PR to be more descriptive instead of "Amended Transcription" might also help.

Cheers!

@@ -795,7 +795,7 @@ Changes in parameter names
- The *normed* parameter to `.Axes.hist2d` has been renamed to *density*.
- The *s* parameter to `.Annotation` (and indirectly `.Axes.annotate`) has
been renamed to *text*.
- The *tolerence* parameter to
- The ** parameter to
Copy link
Member

Choose a reason for hiding this comment

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

Looks like a revert gone wrong. The old parameter name was tolerence and we need to keep it exactly spelled like it was before the change.

@@ -254,7 +254,7 @@ Pull Requests (1066):
* :ghpull:`17617`: Rewrite pdf test to use check_figures_equal.
* :ghpull:`17654`: Small fixes to recent What's New
* :ghpull:`17649`: MNT: make _setattr_cm more forgiving
* :ghpull:`17644`: Doc 33 whats new consolidation
* :ghpull:`17644`: Doc 33 what's new consolidation
Copy link
Member

Choose a reason for hiding this comment

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

As mentioned before I would like to keep all PR titles exactly as they are, including any spell errors.

Copy link
Member

Choose a reason for hiding this comment

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

I already went and fixed the PR titles, so these are fine, if a bit overzealous. Only the "tolerence" one should stay as it was as it is intentional.

timhoffm reacted with thumbs up emoji
@@ -111,7 +111,7 @@ def split_de_casteljau(beta, t):


def find_bezier_t_intersecting_with_closedpath(
bezier_point_at_t, inside_closedpath, t0=0., t1=1., tolerance=0.01):
bezier_point_at_t, inside_closedpath, t0=0., t1=1., tolerence=0.01):
Copy link
Member

Choose a reason for hiding this comment

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

You cannot simply rename parameters in public functions, because this will break user code. Such a change has to go through a deprecation process. We could to this, but it's a separte topic that should be handled in a dedicated PR.

@@ -189,7 +189,7 @@ algorithm that was not necessarily applicable to custom Axes. Three new private
methods, ``matplotlib.axes._base._AxesBase._get_view``,
``matplotlib.axes._base._AxesBase._set_view``, and
``matplotlib.axes._base._AxesBase._set_view_from_bbox``, allow for custom
*Axes* classes to override the pan and zoom algorithms. Implementors of
*Axes* classes to override the pan and zoom algorithms. Implementers of
Copy link
Member

Choose a reason for hiding this comment

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

This seems to be the only viable direct change here.

@ENUMERA8OR ENUMERA8OR closed this by deleting the head repository Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@tacaswell tacaswell tacaswell left review comments

@QuLogic QuLogic QuLogic left review comments

@timhoffm timhoffm timhoffm left review comments

Assignees
No one assigned
Labels
Documentation: API files in lib/ and doc/api Documentation: user guide files in galleries/users_explain or doc/users
Projects
Status: Waiting for author
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /