Skip to content

matplotlib #8

@enryH

Description

@enryH

Request was to add x-axis labels in plain matplotlib in the section "Combining Matplolib, Pandas and Seaborn".

There is already an example for the seaborn plot using matplotlib.axes.Axes.set_xticklabels

To add:

_ = ax.set_xticks(ticks=x)
_ = ax.set_xticklabels(labels=list(some_counts["Denmark"].keys()), rotation=45)
# _ = plt.xticks(ticks=x, labels=list(some_counts["Denmark"].keys()), rotation=45)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions