Skip to content

Commit 8cc95c1

Browse files
authored
Add files via upload
1 parent 0378411 commit 8cc95c1

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

algorithm/rs_plot.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
import numpy as np
22
import matplotlib.pyplot as plt
33
import plotly.express as px
4-
['Li', 'Be', 'B', 'C',
5-
'N', 'O', 'Ne', 'P',
6-
'S', 'C', 'Br', 'Cl', 'Ra', 'Fr']
7-
color = px.colors.qualitative.Light24
8-
color[1] = color[10]
9-
color[6] = color[9]
104

11-
color_discrete_map= { str(idx): color[idx-1] for idx in range(1, 15)} #map label to new color
12-
#color = px.colors.qualitative.Light24 #color map
13-
#color_discrete_map= { str(idx): color[idx-1] for idx in range(1, 25)} #map label to new color
5+
color = px.colors.qualitative.Light24 #color map
6+
color_discrete_map= { str(idx): color[idx-1] for idx in range(1, 25)} #map label to new color
147
symbol_discrete_map = {'1': 'circle-open', '2': 'diamond-open', '3': 'square-open', '4': 'cross-open',
158
'5': 'x-open', '6': 'triangle-up-open', '7': 'triangle-down-open', '8': 'triangle-left-open',
169
'9': 'triangle-right-open', '10': 'triangle-ne-open', '11': 'triangle-se-open',

0 commit comments

Comments
 (0)