Skip to content
  • Gigg, Martyn Anthony's avatar
    Fix ref counting bug with figure instance · 6591c66e
    Gigg, Martyn Anthony authored
    In the subplot case we need to create the figure outside
    of the class and pass it to the canvas as matploltib does.
    If this is not done then trying to retrieve the figure later
    leads to accessing a dead object.
    6591c66e