Inconsistency between " and ' in the code · Issue #8079 · matplotlib/matplotlib · GitHub
Skip to content

Inconsistency between " and ' in the code #8079

Description

@Naereen

Hi,
That's not a bug per say, but I noticed a strong inconsistency in the codebase between strings with simple and double quotes.
For instance, see that line (def hist in _axes.py):

@_preprocess_data(replace_names=["x", 'weights'], label_namer="x")

I don't think there is a semantic reason for this difference between "x" and 'weights' (if there is, it's not clear).

If a maintainer thinks this should be corrected, I think a carefully designed regexp and sed command line can do the job quickly.

Activity

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions