NURBS-Python
NURBS-Python copied to clipboard
How to reuse the matplotlib figure
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?
I have the same question.
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.