---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[10], line 4
1 from aixd.visualisation.plotter import Plotter
2 plotter = Plotter(dataset, output='show')
----> 4 plotter.distrib_attributes(block="pa")
File ~\CODE\aixd\src\aixd\visualisation\plotter.py:324, in Plotter.distrib_attributes(self, block, attributes, transformed, per_column, n_cols, sub_figs, bottom_top, downsamp, flag_compare_to_error, output_name)
322 dobj.plot_distrib(fig, data=block.data.iloc[error_vec == 1], cols=col, name_plot=trace_name + " Error", pos=pos, downsamp=downsamp)
323 else:
--> 324 fig = dobj.plot_distrib(fig, data=block.data, cols=col, name_plot=trace_name, pos=pos, downsamp=downsamp)
326 # Add bottom and top lines
327 if (sub_figs or n_traces == 1) and dobj.type in ["real", "integer"]:
File ~\CODE\aixd\src\aixd\data\data_objects.py:617, in DataDiscrete.plot_distrib(self, fig, data, cols, name_plot, pos, downsamp, **kwargs)
614 data = data[cols] if cols is not None else data
616 mat = np.asarray(data)[::downsamp]
--> 617 return up.barplot(fig, mat.flatten(), name_plot, pos, options=self.domain.array, **kwargs)
AttributeError: 'Interval' object has no attribute 'array'