Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Change colorbar label size #71

Closed
hotsoupisgood opened this issue May 28, 2024 · 1 comment
Closed

Feature request: Change colorbar label size #71

hotsoupisgood opened this issue May 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hotsoupisgood
Copy link

Hi, I would like to be able to change the color bar label size but do not see the option in the kws. See below, bolded.

    circos.colorbar(
        bounds=(0.4, loc, 0.2, 0.005),
        vmin=vmin[i],
        vmax=vmax[i],
        cmap=cmaps[i],
        orientation="horizontal",
        tick_kws=dict(labelsize=6, colors="black"),
        colorbar_kws=dict(label="I would like to be able to change this label size"),
    )
@moshi4 moshi4 mentioned this issue Jun 1, 2024
@moshi4
Copy link
Owner

moshi4 commented Jun 1, 2024

Hi @hotsoupisgood,

Fixed to be able to change the text property of colorbar in v1.6.0 release.

    circos.colorbar(
        bounds=(0.4, loc, 0.2, 0.005),
        vmin=vmin[i],
        vmax=vmax[i],
        cmap=cmaps[i],
        orientation="horizontal",
        tick_kws=dict(labelsize=6, colors="black"),
-       colorbar_kws=dict(label="I would like to be able to change this label size"),
+       label="You can change this label size",
+       label_kws=dict(size=12, color="black"),
    )

@moshi4 moshi4 closed this as completed Jun 1, 2024
@moshi4 moshi4 added the enhancement New feature or request label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants