MouseLand / rastermap

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

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

Closed landoskape closed 6 months ago

landoskape commented 6 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 6 months ago

sorry about this this is fixed now!