File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
projection = "X10c/10c" ,
22
22
frame = ["xa0.2fg" , "ya0.2fg" , "WSrt" ],
23
23
)
24
- for color in ["blue " , "orange " , "green " ]:
24
+ for color in ["gray73 " , "darkorange " , "slateblue " ]:
25
25
x , y = np .random .rand (2 , n ) # random X and Y data in [0,1]
26
26
sizes = np .random .rand (n ) * 0.5 # random size [0,0.5], in cm
27
27
# plot data points as circles (style="c"), with different sizes
32
32
sizes = sizes ,
33
33
color = color ,
34
34
# Set the legend label,
35
- # and set the circle size to be 0.25 cm (+S0.25c) in legend
35
+ # and set the symbol size to be 0.25 cm (+S0.25c) in legend
36
36
label = f"{ color } +S0.25c" ,
37
- transparency = 70 , # set transparency level for all symbols
37
+ transparency = 50 , # set transparency level for all symbols
38
38
)
39
39
40
40
fig .legend (transparency = 30 ) # set transparency level for legends
You can’t perform that action at this time.
0 commit comments