Skip to content

Commit

Permalink
fix colorbar in likelihoodscan2d
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisNe committed Sep 19, 2022
1 parent 9e26cab commit 8d9a584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flarestack/core/minimisation.py
Expand Up @@ -985,7 +985,7 @@ def scan_likelihood_2d(
)

# ----- make a colorbar ----- #
cbar = fig.colorbar(cm.ScalarMappable(norm=norm, cmap=cmap))
cbar = fig.colorbar(cm.ScalarMappable(norm=norm, cmap=cmap), cax=ax)

# ----------- draw contours ------------- #
levels = 0.5 * np.array([1.0, 2.0, 5.0]) ** 2
Expand Down

0 comments on commit 8d9a584

Please sign in to comment.