Skip to content

[DOC]: possible typos #29313

Closed
Closed

Description

@musvaage

Some possible additional fixes.

Homogeneous
compiled (shouldn't bother with changelog)
example
functionality
installed
logger
parameters
reset
secondary
tolerance (spelling tolerence is intentional)

$ grep -nr Homogenous matplotlib
matplotlib/galleries/users_explain/axes/constrainedlayout_guide.py:535:plt.suptitle('Homogenous nrows, ncols')
$ grep -nr compilex matplotlib
matplotlib/doc/users/prev_whats_new/changelog.rst:6117:    are Numeric typecodes and can be used with Numeric compilex extensions.
$ grep -nr exammple matplotlib
matplotlib/lib/matplotlib/sphinxext/plot_directive.py:35:        plt.title("A plotting exammple")
$ grep -nr functionaliy matplotlib
matplotlib/doc/api/next_api_changes/removals/20866-JKS.rst:5:functionaliy was already replaced by other code, and the only thing left
$ grep -nr instaled matplotlib
matplotlib/pyproject.toml:54:    # Unfortunately, we can't do a sort of minimum-if-instaled dependency, so
$ grep -nr looger matplotlib
matplotlib/doc/api/prev_api_changes/api_changes_3.1.0.rst:536:    # e.g. by configuring a root looger using ``logging.basicConfig()``,
$ grep -n parmeters matplotlib/lib/matplotlib/tests/test_colorbar.py
1211:def test_colorbar_axes_parmeters():
$ grep -nr resete matplotlib
matplotlib/lib/matplotlib/tests/test_widgets.py:1602:    # selector should be automatically resete
$ grep -nr secondart matplotlib
matplotlib/lib/matplotlib/axes/_base.py:1071:            The transform used for drawing secondart y-axis labels, which will
$ grep -nr tolerence matplotlib
matplotlib/doc/api/prev_api_changes/api_changes_3.1.0.rst:798:- The *tolerence* parameter to
$  

Should the blank space be removed?

$ grep -n "pass throughs" matplotlib/lib/matplotlib/category.py
54:        # dtype = object preserves numerical pass throughs
$ 

I presume this is intentional.

$ grep -nr hozirontal matplotlib
matplotlib/lib/matplotlib/tests/test_text.py:412:        Text(rotation='hozirontal')
$

This seems to be bundled customised code.

$ grep -nr intialization matplotlib
matplotlib/subprojects/packagefiles/freetype-2.6.1-meson/include/freetype/config/ftoption.h.in:491:  /*   constants will be moved into a struct and additional intialization  */
$

ci/schemas/conda-environment.json

The above bundled file's typo has been fixed upstream.

microsoft/vscode-python#24574

lib/matplotlib/_color_data.py

The above file contains reproduced xkcd site content which includes typos found in the original.

Activity

  1. changed the title [-]DOC: possible typos[/-] [+][DOC]: possible typos[/+] on Dec 14, 2024
  2. musvaage commented on Dec 15, 2024

    @musvaage
    ContributorAuthor

    Sorry for not getting back to it, agree w/ @QuLogic with the caveat that you shouldn't bother w/ anything in the changelog.

    @story645

    Perhaps you'd adjust according to Member specifications the GNU sed lines in the following script.

    Furthermore see the note above the grep output for the string hozirontal in the opening comment.

    Owing to other obligations presently my preference would be a Member or other Contributor make the commit.

    $ cat typos.sh
    #!/bin/sh
    
    sed -i "s/Homogenous/Homogeneous/g" matplotlib/galleries/users_explain/axes/constrainedlayout_guide.py
    # sed -i "s/compilex/compiled/g" matplotlib/doc/users/prev_whats_new/changelog.rst
    sed -i "s/exammple/example/g" matplotlib/lib/matplotlib/sphinxext/plot_directive.py
    sed -i "s/functionaliy/functionality/g" matplotlib/doc/api/next_api_changes/removals/20866-JKS.rst
    sed -i "s/instaled/installed/g" matplotlib/pyproject.toml
    sed -i "s/looger/logger/g" matplotlib/doc/api/prev_api_changes/api_changes_3.1.0.rst
    sed -i "s/parmeters/parameters/g" matplotlib/lib/matplotlib/tests/test_colorbar.py
    # sed -i "s/pass throughs/passthroughs/g" matplotlib/lib/matplotlib/category.py
    sed -i "s/resete/reset/g" matplotlib/lib/matplotlib/tests/test_widgets.py
    sed -i "s/secondart/secondary/g" matplotlib/lib/matplotlib/axes/_base.py
    sed -i "s/tolerence/tolerance/g" matplotlib/doc/api/prev_api_changes/api_changes_3.1.0.rst
    $ 
    
  3. added a commit that references this issue on Dec 18, 2024
    fe9618d
  4. timhoffm commented on Dec 18, 2024

    @timhoffm
    Member

    Thanks @musvaage!

  5. added this to the v3.11.0 milestone on Dec 18, 2024
  6. musvaage commented on Dec 19, 2024

    @musvaage
    ContributorAuthor

    I had an unreliable WiFi connection so problems with cloning repos.

    @timhoffm

    Your commit was therefore appreciated.


    this is only for my own records

    the script had 2 commented out lines

    additionally, these lines appear to not have been run

    sed -i "s/Homogenous/Homogeneous/g" matplotlib/galleries/users_explain/axes/constrainedlayout_guide.py
    sed -i "s/tolerence/tolerance/g" matplotlib/doc/api/prev_api_changes/api_changes_3.1.0.rst
    ```
    
  7. QuLogic commented on Dec 19, 2024

    @QuLogic
    Member

    sed -i "s/Homogenous/Homogeneous/g" matplotlib/galleries/users_explain/axes/constrainedlayout_guide.py

    This is a valid spelling, apparently, though I would not use it myself.

    sed -i "s/tolerence/tolerance/g" matplotlib/doc/api/prev_api_changes/api_changes_3.1.0.rst

    This is intentional.

  8. musvaage commented on Dec 20, 2024

    @musvaage
    ContributorAuthor

    my commits

    for Julia's BifurcationKit were fixed spellings using for example the following

    homogeneous solutions
    inhomogeneous time discretisation

    the antonym of homogeneous being heterogeneous

  9. jklymak commented on Dec 20, 2024

    @jklymak
    Member

    I certainly don't mind if someone wants to change Homogenous to Homogeneous, but the former is pretty commonly used (particularly in US English?)

  10. jklymak commented on Dec 21, 2024

    @jklymak
    Member

    the antonym of homogeneous being heterogeneous

    ... the antonym of homogenous being heterogenous. It's just an alternate spelling, and neither is incorrect.

  11. musvaage commented on Dec 21, 2024

    @musvaage
    ContributorAuthor

    homogenous

    reading the second edition OED

    if certain circles consider that an alternate spelling it may be due to the commonality of the use of the verb homogenize

    the OED entry math section's initial citation has the spelling Homogenious

    that section's remaining citations use the spelling homogeneous

    furthermore the spelling homogenous is used in texts on biology and surgery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions