Choosing colour in this module

hey all, I came across this module that draws graphs in frames for you, and its really awesome ! but I was wondering if instead of random colours, I can choose the colour for each line ? I’ve been wracking my brain for how to do it, but I haven’t come up with a solution yet. I was wondering if anyone could give any ideas/point me in the right direction ? thanks !

1 Like

Try to find the line generation function in the source code. I’m not sure how it works because I don’t use it, but I think I understand the general idea. You need to find a part of the code where the color is set in the scripts of this module.

To find it quickly, you can use Ctrl + F to search for a specific code part in the module. Type “Color” and look through the code. Perhaps you’ll find the function you need.

edit: Perhaps the module offers the ability to change the colors of graphs. Try again to double check its API, as in the source code, I just found something that allows you to change the color of a graph.

found the colour function and managed to edit it to my use-case ! marked you as the solution :smiley:

1 Like

Thank you! I was glad to help you :grin: