Skip to content

labelrotation in ax.colorbar() did not work #294

Closed
@ybmy001

Description

@ybmy001

Below is my code, as mentioned above.

import ultraplot as uplt

cmap = uplt.Colormap("plasma_r")
fig, ax = uplt.subplots()

for i, loc in enumerate(['b', 'l', 'r', 't']):
    ax.colorbar(cmap, loc=loc, label="label", labelloc="right", labelrotation=90 * i)

uplt.show(block=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions