def plot(self, df_data, center=False, save=False,
             save_name=None, save_path='saved', dated=True, notebook=True):
        "df_data format is a dataframe with columns x, y, z (required), and style, filter (optional)"
        data = df_data.to_json(orient='records')
        options = self.to_dict()
        return plot(data, options, center=center, save=save,
                    save_name=save_name, save_path=save_path, dated=dated, notebook=notebook)
def plot ( self , df_data , center = False , save = False , save_name = None , save_path = 'saved' , dated = True , notebook = True ) : data = df_data . to_json ( orient = 'records' ) options = self . to_dict ( ) return plot ( data , options , center = center , save = save , save_name = save_name , save_path = save_path , dated = dated , notebook = notebook )
df_data format is a dataframe with columns x, y, z (required), and style, filter (optional)