NURBS-Python icon indicating copy to clipboard operation
NURBS-Python copied to clipboard

How to reuse the matplotlib figure

Open bizerfr opened this issue 3 years ago • 2 comments

HI,

I use geomdl to plot multiple nurbs surfaces. And I also need to plot corresponding point clouds. I want to put them in the same figure. How to do it?

bizerfr avatar Oct 31 '21 14:10 bizerfr

I have the same question.

Beaver12LY avatar Mar 30 '22 11:03 Beaver12LY

Currently, the visualization modules are not returning the matplotlib figure, so I don't think it is possible with the included visualization modules. However, you could write your own visualization module with a minor change, e.g. add convert fig variable to self.fig, so that you should be able to access the MPL figure object directly from the visualization class instance.

orbingol avatar Apr 23 '22 22:04 orbingol