MouseLand / rastermap

a visualization method for neural data
GNU General Public License v3.0
173 stars 42 forks source link

Fix bin_size error for ``compute_X_embedding`` of ``Rastermap.fit()`` method #30

Closed landoskape closed 4 months ago

landoskape commented 4 months ago

In the rastermap fit method, bin_size isn't set anywhere. However, a bin_size attribute is set by the init method. I added self. to the bin_size variable so it works now.

Note: this is necessary for using the example in the README page with compute_X_embedding=True !!

carsen-stringer commented 4 months ago

sorry about this this is fixed now!