Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

String Based Formatters Should Work With Categoricals #17360

Copy link
Copy link
Open
@story645

Description

@story645
Issue body actions
fig, ax = plt.subplots()
@mticker.FuncFormatter
def format(x, pos=None):
    return f'{x}!'
ax.plot(['A','B','C'], [4,5,6])
ax.xaxis.set_major_formatter(format)

yields:
index2

when the expected behavior would be something like:
index3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.