Skip to content

plt.yscale("log") gives FloatingPointError: underflow encountered in multiply #4285

Closed
@theopavlakou

Description

@theopavlakou

I'm running an optimisation algorithm and I'm using numpy. When I plot the graph using a linear graph, everything works fine, however, in a certain scenario when I use plt.yscale("log") I get the following errors:

http://hastebin.com/soranibaki.avrasm

but I have no idea why since there aren't even any zero values in the arrays that I'm plotting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions