p-koo / tfomics

MIT License
4 stars 6 forks source link

cast `num_rows` in `plot_filters` to int #3

Closed kaczmarj closed 3 years ago

kaczmarj commented 3 years ago

This avoids a deprecation warning from matplotlib:

tfomics/impress.py:47: MatplotlibDeprecationWarning: Passing non-integers as three-element 
position specification is deprecated since 3.3 and will be removed two minor releases later.
  ax = fig.add_subplot(num_rows,num_cols,n+1)

this is using matplotlib version 3.3.4