I think there is an error in https://nest-simulator.readthedocs.io/en/stable/auto_examples/plot_weight_matrices.html

 

·         min(E_neurons)and min(I_neurons) should be replace to
·         min(E_neurons.tolist()) and min(I_neurons.tolist())or some other way to get the right values
 
 
Suggestion:
The file plot_weight_matrices.py just contain a def plot_weight_matrices(E_neurons, I_neurons). If it had a complete code to create nodes, assign weights then plot the weight matrixes, the error could have been caught automatically (CI/CD)? 

 

Best,

Inton