rename get_figure -> getplotlyfigure