Skip to content

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

@dcmckayibm

Description

@dcmckayibm

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions