You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I try to run plotly output with the heatmap I get error in utilities.py TypeError: 'map' object is not subscriptable because you are trying to subscript a map which is not allowed in Python 3. We need to update this if using Python 3 to C = list(map(np.uint8, np.array(cmap(k * h)[:3]) * 255))
In addition may want to look at matplotlib deprecation warning at correlation.py:306
MatplotlibDeprecationWarning:
You are modifying the state of a globally registered colormap. In future versions, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = copy.copy(mpl.cm.get_cmap("jet"))
The text was updated successfully, but these errors were encountered:
Also with the scatterplot for plotly you can no longer set at line 424 in correlation.py the trace using the code fig['data'] = data. You have to use the add_traces() function as indicated at link below as in fig.add_traces(data)
Hi,
When I try to run plotly output with the heatmap I get error in utilities.py
TypeError: 'map' object is not subscriptable
because you are trying to subscript a map which is not allowed in Python 3. We need to update this if using Python 3 toC = list(map(np.uint8, np.array(cmap(k * h)[:3]) * 255))
In addition may want to look at matplotlib deprecation warning at
correlation.py:306
The text was updated successfully, but these errors were encountered: