Skip to content

Commit

Permalink
HyperSpectra: fix color legend fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
markotoplak committed Mar 9, 2023
1 parent 77cebea commit 94a410c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions orangecontrib/spectroscopy/widgets/owhyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,15 +599,16 @@ def title_item(self):

@property
def axis_items(self):
return [value["item"] for value in self.master.plot.axes.values()]
return [value["item"] for value in self.master.plot.axes.values()] \
+ [self.master.legend.axis]

@property
def getAxis(self):
return self.master.plot.getAxis

@property
def legend_items(self):
return self.master.legend.items
return []


class ImagePlot(QWidget, OWComponent, SelectionGroupMixin,
Expand Down

0 comments on commit 94a410c

Please sign in to comment.