Skip to content

Support escaped characters in matplotlibrc via double-quoted strings #19954

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
wants to merge 1 commit into from

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Apr 13, 2021

PR Summary

As proposed in #15813 (comment).

Closes #19288.

Alternative to #19289.

On a side note: This (as the current matplotlibrc format) is a subset of YAML.

@timhoffm timhoffm added this to the v3.5.0 milestone Apr 13, 2021
@timhoffm timhoffm force-pushed the matplotlibrc-escape branch from 24012f7 to 1e79e72 Compare April 13, 2021 23:24
@timhoffm timhoffm force-pushed the matplotlibrc-escape branch from 1e79e72 to 8c1f794 Compare April 13, 2021 23:32
@timhoffm
Copy link
Member Author

As the failing test indicates, we need a slightly more sophisticated parser to not detect '#' in quoted strings as comment marker.

@timhoffm timhoffm marked this pull request as draft April 13, 2021 23:34
@timhoffm timhoffm modified the milestones: v3.5.0, unassigned Jul 29, 2021
@timhoffm
Copy link
Member Author

Superseeded by #22589.

@timhoffm timhoffm closed this Mar 21, 2022
@ksunden ksunden marked this pull request as ready for review June 30, 2023 14:24
@timhoffm timhoffm deleted the matplotlibrc-escape branch July 19, 2024 11:35
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.

Escape # character in matplotlibrc
1 participant