# Path: geomdl/vis.py
# class VisConfigAbstract(object):
# class VisAbstract(object):
#     def __init__(self, **kwargs):
#     def __init__(self, config, **kwargs):
#     def clear(self):
#     def add(self, ptsarr, plot_type, name="", color="", idx=0):
#     def vconf(self):
#     def mconf(self):
#     def mconf(self, value):
#     def ctrlpts_offset(self):
#     def ctrlpts_offset(self, offset_value):
#     def size(self, plot_type):
#     def animate(self, **kwargs):
#     def render(self, **kwargs):


from geomdl import vis
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
from matplotlib import animation
import numpy as np
import matplotlib as mpl
import matplotlib.tri as mpltri
import matplotlib.pyplot as plt
        if not self.vconf.display_axes:
            plt.axis('off')

        # Set axes equal
        if self.vconf.axes_equal:
            self.vconf.set_axes_equal(ax)

        # Axis labels
        if self.vconf.display_labels:
            ax.set_xlabel('x')
            ax.set_ylabel('y')
            ax.set_zlabel('z')

        # Process keyword arguments
        fig_filename = kwargs.get('fig_save_as', None)
        fig_display = kwargs.get('display_plot', True)

        # Display the plot
        if fig_display:
            plt.show()
        else:
            fig_filename = self.vconf.figure_image_filename if fig_filename is None else fig_filename

        # Save the figure
        self.vconf.save_figure_as(fig, fig_filename)

        # Return the figure object
        return fig



# Path: geomdl/vis.py
# class VisConfigAbstract(object):
# class VisAbstract(object):
#     def __init__(self, **kwargs):
#     def __init__(self, config, **kwargs):
#     def clear(self):
#     def add(self, ptsarr, plot_type, name="", color="", idx=0):
#     def vconf(self):
#     def mconf(self):
#     def mconf(self, value):
#     def ctrlpts_offset(self):
#     def ctrlpts_offset(self, offset_value):
#     def size(self, plot_type):
#     def animate(self, **kwargs):
#     def render(self, **kwargs):


# Path: geomdl/visualization/VisMPL.py
from geomdl import vis
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
from matplotlib import animation
import numpy as np
import matplotlib as mpl
import matplotlib.tri as mpltri
import matplotlib.pyplot as plt

        if not self.vconf.display_axes:
            plt.axis('off')

        # Set axes equal
        if self.vconf.axes_equal:
            self.vconf.set_axes_equal(ax)

        # Axis labels
        if self.vconf.display_labels:
            ax.set_xlabel('x')
            ax.set_ylabel('y')
            ax.set_zlabel('z')

        # Process keyword arguments
        fig_filename = kwargs.get('fig_save_as', None)
        fig_display = kwargs.get('display_plot', True)

        # Display the plot
        if fig_display:
            plt.show()
        else:
            fig_filename = self.vconf.figure_image_filename if fig_filename is None else fig_filename

        # Save the figure
        self.vconf.save_figure_as(fig, fig_filename)

        # Return the figure object
        return fig



class VisVoxel(vis.VisAbstract):