deltakit.explorer.plotting.defect_diagram#

deltakit.explorer.plotting.defect_diagram(all_detector_coords: dict, all_defect_rates: dict)#

Plots defect rates patch diagram given detector coordinates and their error rates.

Parameters:
  • all_detector_coords – Mapping from coordinates to detector numbers.

  • all_defect_rates – Defect rates of detectors.

Returns:

matplotlib module

Return type:

matplotlib.pyplot