(*args, **kwargs)
return fig
Create a new figure.
    
    Arguments:
    
      * constrain_ratio: constrain the W/H ratio when zooming and resizing
        the window.
      * constrain_navigation: prevent zooming outside the scene.
      * display_fps: display frames per second or not.
      * antialiasing: activate antialiasing or not.
      * size: figure size.
      * toolbar: show the toolbar by default or not.
Create a new figure.
    
    Arguments:
    
      * constrain_ratio: constrain the W/H ratio when zooming and resizing
        the window.
      * constrain_navigation: prevent zooming outside the scene.
      * display_fps: display frames per second or not.
      * antialiasing: activate antialiasing or not.
      * size: figure size.
      * toolbar: show the toolbar by default or not.
Create a new figure . Arguments : * constrain_ratio : constrain the W / H ratio when zooming and resizing the window . * constrain_navigation : prevent zooming outside the scene . * display_fps : display frames per second or not . * antialiasing : activate antialiasing or not . * size : figure size . * toolbar : show the toolbar by default or not .
def figure(*args, **kwargs):
    """Create a new figure.
    
    Arguments:
    
      * constrain_ratio: constrain the W/H ratio when zooming and resizing
        the window.
      * constrain_navigation: prevent zooming outside the scene.
      * display_fps: display frames per second or not.
      * antialiasing: activate antialiasing or not.
      * size: figure size.
      * toolbar: show the toolbar by default or not.
      
    """
    fig = Figure(*args, **kwargs)
    global _FIGURE
    _FIGURE = fig
    return fig
def figure ( * args , * * kwargs ) : fig = Figure ( * args , * * kwargs ) global _FIGURE _FIGURE = fig return fig