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
In python 2, the division of two integers leads to a new integer. In python three, this is relaxed (will yield float). This behaviour can be used in python2 also. However, the optspec parser does not do this:
from __future__ importdivisionassert0.75==3/4%%optsRaster [aspect=3/4]
hv.Raster(np.random.randint((10,20))
Gives ZeroDivisionError
The text was updated successfully, but these errors were encountered:
In python 2, the division of two integers leads to a new integer. In python three, this is relaxed (will yield float). This behaviour can be used in python2 also. However, the optspec parser does not do this:
Gives
ZeroDivisionError
The text was updated successfully, but these errors were encountered: