Not able to 'numpy.float64' to int in python
Question:
Answers:
Can you try the following:
float(ax.get_ylim()[0])
you can try this
(ax.get_ylim()[0]).astype(float)
this is going working maybe astype need obvious object
@Jeril ‘s way is really obvious but if you have to use astype() this could be help.
Can you try the following:
float(ax.get_ylim()[0])
you can try this
(ax.get_ylim()[0]).astype(float)
this is going working maybe astype need obvious object
@Jeril ‘s way is really obvious but if you have to use astype() this could be help.