Skip to content

Error in the plotter if there is no valid fitter error #1413

@dcmckayibm

Description

@dcmckayibm
Collaborator

Informations

  • Qiskit Experiments version:
  • Python version:
  • Operating system:

What is the current behavior?

Error in line 159 of curve_plotter if y_interp_err is not a float.

I fixed this locally with
if type(y_interp_err) is not float: y_interp_err = 0

however, not sure that's the best way to do this... because there should be some awareness that the interp_err is not getting calculated right

Steps to reproduce the problem

Try to fit a curve to some absurd data

What is the expected behavior?

Suggested solutions

Activity

linked a pull request that will close this issue on Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @dcmckayibm@nkanazawa1989

    Issue actions

      Error in the plotter if there is no valid fitter error · Issue #1413 · qiskit-community/qiskit-experiments