highfestiva/finplot

Non filled circle

Grethold opened this issue · 4 comments

Hi!
Is it possible to make an unfilled circle like this?
obraz
Thanks!

Manually: Ctrl+MMButton-drag. To do it programatically you have to jump through hoops:

	pos = fplt.pg.Point(100, 80)
	size = fplt.pg.Point(10,10)
	pen = fplt.pg.mkPen('#c95')
	ellipse = fplt.pg.EllipseROI(pos, size, pen=pen, movable=False)
	ax.vb.addItem(ellipse)

It works perfectly, thank you!
obraz

Is it possible to delete this item (programatically)?

Did you try ax.vb.removeItem(ellipse)?