Closed alexgiul closed 1 year ago
You could set the alpha (transparency) color using CSS' 8-digit hex codes. The border you set with the pen. Like so:
rect = fplt.add_rect((x1, y1), (x2, y2), color='#8c85', interactive=True)
rect.setPen(fplt._makepen('#000'))
Opening a context-sensitive menu is a bit more involved, and I don't know how. finplot is built on top of pyqtgraph. Go over to their support page and ask how to do that on an instance of RectROI
(which is the base class for FinRect
, which is what is rendered in finplot). If this all sounds too complicated, I'm afraid having some kind of menu system in finplot might be too.
Thanks a lot, @highfestiva , I will try to work with RectROI and if I find a solution, I ll put it here just in case anyone needs it
Requirements (place an
x
in each of the[ ]
)**pip install -U finplot
).Hi Sir, and thanks for this great library!!!
I am playing a lot with and I am here to ask how can I code these features:
Thanks a lot for the help, Alessandro