We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c5dc12 commit f093e10Copy full SHA for f093e10
1 file changed
psy_reg/plotters.py
@@ -553,7 +553,10 @@ def update(self, value):
553
self.id_color.colors, linestyles):
554
if da.ndim > 1:
555
da = da[0]
556
- x = da.to_series().index.values
+ try:
557
+ x = psyps._get_index_vals(da.to_series().index)
558
+ except AttributeError: # old psy-simple version
559
+ x = da.to_series().index
560
if fit_type in ['robust', 'fit']:
561
y = vals[0] + vals[1] * x
562
else:
0 commit comments