It's easy with pyplot but apparently pyplot shouldn't be used when embedding. I haven't been able to find any non-pyplot embedding examples where labels are used.
Asked
Active
Viewed 81 times
0
-
This is a bad question and not what I intended to ask but I won't delete it because there is already an answer. I meant to ask about legends in embedded plots. – Drew Oct 23 '15 at 15:54
1 Answers
0
Maybe you found this page, too. Maybe this example helps. I have not tested it, thus I cannot say if it works.
Staying with the example from the matplotlib example, the labels in the subplot self.axes
can be set using self.axes.set_xlabel(x Label")
or self.axes.set_ylabel("y Label")
.

Little Penguin
- 16
- 1