Skip to content

Legend entries with underscores in labels not escaped correctly #538

@GregoryMorse

Description

@GregoryMorse

ax.plot([0,1,2], [0,1,2], label="a_b_c"); ax.legend()

Expected output: \addlegendentry{a\_b\_c}

Actual output: \addlegendentry{a_b_c} which will not compile in Latex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions