Skip to content

Commit

Permalink
Merge pull request #5239 from meeseeksmachine/auto-backport-of-pr-523…
Browse files Browse the repository at this point in the history
…7-on-v1.0.x

Backport PR #5237 on branch v1.0.x (Fix dict ARTIST_TO_LINE_PROPERTIES)
  • Loading branch information
registerrier committed Apr 26, 2024
2 parents 00b42c2 + e55c89e commit 547b342
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gammapy/modeling/models/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_plot_models(caplog):
models = Models.read("$GAMMAPY_DATA/tests/models/gc_example_models.yaml")

with mpl_plot_check():
models.plot_positions()
models.plot_regions(linewidth=2)
models.plot_regions()

assert models.wcs_geom.data_shape == models.wcs_geom.wcs.array_shape
Expand Down
4 changes: 2 additions & 2 deletions gammapy/visualization/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"ec": "markeredgecolor",
"facecolor": "markerfacecolor",
"fc": "markerfacecolor",
"linewidth": "markerwidth",
"lw": "markerwidth",
"linewidth": "markeredgewidth",
"lw": "markeredgewidth",
}


Expand Down

0 comments on commit 547b342

Please sign in to comment.