You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am modelling a time series with a certain number of points (rows). I want to plot the UMatrix but filter the labels to specify only those belonging to a certain year. I know how many rows are per year. So, does passing a range to the _view_matrix make sense?
My code only has a little modification as follows:
if labels is not None:
for label, col, row in zip(_filter_array_local(som, labels, zoom),bmu_coords[:, 0], bmu_coords[:, 1]):
line 456--> if label is not None and label in label_range:
axes[i].annotate(label, xy=(col, row), xytext=(10, -5),
textcoords='offset points', ha='left', va='bottom',
bbox=dict(boxstyle='round,pad=0.3', fc='white', alpha=0.8))
Where label_range is the range of rows I want to plot.
Does it make sense? I am generating several plots, and effectively, low numbers are displayed corresponding to the first years (the numpy array is ordered per years).
The text was updated successfully, but these errors were encountered:
I am modelling a time series with a certain number of points (rows). I want to plot the UMatrix but filter the labels to specify only those belonging to a certain year. I know how many rows are per year. So, does passing a range to the _view_matrix make sense?
My code only has a little modification as follows:
if labels is not None:
for label, col, row in zip(_filter_array_local(som, labels, zoom),bmu_coords[:, 0], bmu_coords[:, 1]):
line 456--> if label is not None and label in label_range:
axes[i].annotate(label, xy=(col, row), xytext=(10, -5),
textcoords='offset points', ha='left', va='bottom',
bbox=dict(boxstyle='round,pad=0.3', fc='white', alpha=0.8))
Where label_range is the range of rows I want to plot.
Does it make sense? I am generating several plots, and effectively, low numbers are displayed corresponding to the first years (the numpy array is ordered per years).
The text was updated successfully, but these errors were encountered: