Convert an RGB(A) color to a wx.Colour.
(self, color)
| 385 | self.unselect() |
| 386 | |
| 387 | def get_wxcolour(self, color): |
| 388 | """Convert an RGB(A) color to a wx.Colour.""" |
| 389 | _log.debug("%s - get_wx_color()", type(self)) |
| 390 | return wx.Colour(*[int(255 * x) for x in color]) |
| 391 | |
| 392 | |
| 393 | class _FigureCanvasWxBase(FigureCanvasBase, wx.Panel): |
no outgoing calls
no test coverage detected