erdzeichen / KiMoPack

GNU General Public License v3.0
11 stars 5 forks source link

comapre DAC misses #1

Closed AxlEriksson closed 2 years ago

AxlEriksson commented 2 years ago

ta.Compare_DAC(other=project_list,separate_plots=True)

UnboundLocalError Traceback (most recent call last)

in 1 plt.close(3) ----> 2 ta.Compare_DAC(other=project_list,separate_plots=True) ~\anaconda3\lib\site-packages\KiMoPack\plot_func.py in Compare_DAC(self, other, spectra, separate_plots, cmap) 7267 for j,am in enumerate(re['DAC'].columns): 7268 if o.scattercut is None: -> 7269 re['DAC'].iloc[:,j].plot(subplots=False,ax=a[j],legend=False,color=col[i]) 7270 elif isinstance(o.scattercut[0], numbers.Number): 7271 re['DAC'].iloc[:,j].loc[:o.scattercut[0]].plot(subplots=False,ax=a[j],legend=False,color=col[i]) UnboundLocalError: local variable 'a' referenced before assignment