-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Dear Gilestro we have recently biuld up ethoscopes based on your development and we have been analyzing data with the python in collab scripts and suddenly the function plot_overtime stop to run it seems objets of the type behavpy do not support this function anymore. Any ideas?
AttributeError Traceback (most recent call last)
in <cell line: 0>()
1 # Crear el gráfico
----> 2 fig = df_48hr.xmv('sex', 'F').plot_overtime(variable='asleep', wrapped=False, facet_col='exp_group', facet_arg = [3, 2, 1], facet_labels = ['CONTROL Elav WHITE', 'CONTROL Trip WHITE', 'EXPERIMENTAL ELAV Trip'], avg_window=180, title='FEMALES')
3
4 # Actualizar diseño
5 fig.update_layout(autosize=False, width=1500, height=500)
/usr/local/lib/python3.11/dist-packages/pandas/core/generic.py in getattr(self, name)
6297 ):
6298 return self[name]
-> 6299 return object.getattribute(self, name)
6300
6301 https://github.com/Final
AttributeError: 'behavpy' object has no attribute 'plot_overtime'
I tried changing the plot function but the thing is the ones from seaborn or plotly crashes the arguments of sex, and groups since the columns ar not exactly part of the main dataframe
Thanks for your time and help,
Ivana