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

node_label_color problem #207

Open
titi33ledev opened this issue Feb 17, 2023 · 2 comments
Open

node_label_color problem #207

titi33ledev opened this issue Feb 17, 2023 · 2 comments
Labels
question Further information is requested

Comments

@titi33ledev
Copy link

Hello,

I'm having a problem using Ipysigma with Google Colab. When I try to change the color of the node labels with the node_label_color attribute, the color of the labels does not match the color I specified. The problem occurs both when I use HTML color or hexadecimal color.

Here are some examples:

Capture d’écran 2023-02-17 à 15 50 01
Capture d’écran 2023-02-17 à 15 50 28

config: I'm using google collab with Google Chrome on macbook

Thank you :)

@Yomguithereal
Copy link
Member

Hello @titi33ledev, you need to use the default_node_label_color for this. The node_label_color will map the given attribute to a generated color palette (in your case, mapping the node attribute named "black" to a single color given to node that do not have the "black" attribute, i.e. every node).

You can read more here and here.

@Yomguithereal Yomguithereal added the question Further information is requested label Feb 17, 2023
@titi33ledev
Copy link
Author

Ok, thank you for your return.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants