Skip to content

Commit

Permalink
iss #381 updated test_plot to capture latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BiancaMorandi committed May 17, 2023
1 parent a7fb456 commit 6edb0b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@ def test_ColorPalette():

color_palette.primary_10 = '#0a1429'
assert bw.analyse.plot.COLOR_PALETTE.primary_10 == '#0a1429'
assert color_palette._color_map_colors[-1] == color_palette.primary_10
assert color_palette.color_map_colors[-1] == color_palette.primary_10

color_palette.set_color_map_colors = ['#ccfffc', '#00b4aa', '#008079']
assert bw.analyse.plot.COLOR_PALETTE.set_color_map_colors == ['#ccfffc', '#00b4aa', '#008079']
color_palette.color_map_colors = ['#ccfffc', '#00b4aa', '#008079']
assert bw.analyse.plot.COLOR_PALETTE.color_map_colors == ['#ccfffc', '#00b4aa', '#008079']

color_palette.set_color_map_cyclical = ['#ccfffc', '#00b4aa', '#008079', '#ccfffc']
assert bw.analyse.plot.COLOR_PALETTE.set_color_map_cyclical == ['#ccfffc', '#00b4aa', '#008079', '#ccfffc']
color_palette.color_map_cyclical_colors = ['#ccfffc', '#00b4aa', '#008079', '#ccfffc']
assert bw.analyse.plot.COLOR_PALETTE.color_map_cyclical_colors == ['#ccfffc', '#00b4aa', '#008079', '#ccfffc']



Expand Down

0 comments on commit 6edb0b2

Please sign in to comment.