Adding Text to the plot area #518
Unanswered
Protomolekule
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to a add formated Text (Font, size,color) to finplot. I want to show symbol information in gray, big letters. (Maybe an image too, but thats future...) Unfortunally the implemented
fplt.add_textdoes not take any format, either as Font nor as html. So I've tried to set text overax. But I didn't find the right way. Here is my function which I added to my class:class FP23a (QGraphicsView):
signal_trigger = pyqtSignal()
def init(self, df, title, duration=None, db=None, parent=None, instruments={}):
super (QGraphicsView, self).init (parent)
# Set Plot
self.fplt_widget = self.plotwid () # Erstelle Widget mit Plots und Daten
ax = self.ax_a
I've no idea how this will work. Can someone put in the right direction. I'm sure that this is possible
Beta Was this translation helpful? Give feedback.
All reactions