code: def test_max_weight(self):
      fig = plt.figure()
      ax = fig.add_subplot(1, 1, 1)
  
      weight = 100 * np.random.randn(20, 20)
      plots.hinton(weight, ax=ax, max_weight=10, add_legend=True)
  
      return fig
  
file_path: neupy/tests/plots/test_hinton.py
imports: import pytest
  import numpy
  import matplotlib.pyplot
  from neupy import plots
  from base import BaseTestCase
label_desc: Use image node_id 2 for calling the HintonDiagramTestCase obj's underlying member method code with example usage: obj.test_max_weight() and returns: fig