cytoscape / RCy3

New version of RCy3, redesigned and collaboratively maintained by Cytoscape developer community
MIT License
48 stars 20 forks source link

Conflicting Opacity documentation #173

Closed bdemchak closed 2 years ago

bdemchak commented 2 years ago

The various flavors of opacity (opacity, borderOpacity) in addImageAnnotation and other functions indicate a range of 0..100. The RCy3-utils.checkOpacity function enforces 0..255. Which is correct?

AlexanderPico commented 2 years ago

It's 0..100. I was being lazy and reusing existing checks.

bdemchak commented 2 years ago

Thanks. py4cytoscape now matches this.