fossasia / visdom

A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: module 'numpy' has no attribute 'asscalar'

Mahmood-Hussain opened this issue · comments

Bug Description
AttributeError: module 'numpy' has no attribute 'asscalar'
numpy 1.23.0
visdom-0.1.8.9

Reproduction Steps
Enter steps to reproduce the behavior:
using the latest version of NumPy and when plotting heatmap

Expected behavior
plot heatmap

Screenshots
image

Hey there,

thanks for taking your time and submitting an issue. :)

Just looked into this and the error does not occur in the most recent visdom version.
Actually, I just checked the whole project for any occurrence of asscalar and it seems someone has already fixed all deprecations of this function.

Note, however, the most current version of visdom is not yet on pipy.org . (see #845 ).

Best,
da-h

Thank You for your response it is also solved for me.