Skip to content

Unicode support in the method add.text() of mne.viz.brain #12543

@Jieli12

Description

@Jieli12

Describe the new feature or enhancement

When I run the following command:
brain.add_text(0.1, 0.9, "chinese\u2190中文", color="black", font_size=10)

The added text only shows chinese, see below
Screenshot 2024-04-16 at 16 47 17

However, I expect the added text to be chinese <- 中文. Would you please add this feature?

Describe your proposed implementation

I am not a Python expert, but I found that the Python package PyVista also has the method add_text() here. Maybe it can offer some thought on how to add this new feature.

Describe possible alternatives

None.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions