@@ -139,7 +139,7 @@ def test_one_ohlc(self):
139
139
'xaxis' : {'zeroline' : False }},
140
140
'data' : [{'y' : [33.0 , 33.0 , 33.2 , 32.7 ,
141
141
33.1 , 33.1 , None ],
142
- 'line' : {'color' : 'rgb(44, 160, 44) ' },
142
+ 'line' : {'color' : '#3D9970 ' },
143
143
'showlegend' : False ,
144
144
'name' : 'Increasing' ,
145
145
'text' : ('Open' , 'Open' , 'High' , 'Low' ,
@@ -148,7 +148,7 @@ def test_one_ohlc(self):
148
148
'type' : 'scatter' ,
149
149
'x' : [- 0.2 , 0 , 0 , 0 , 0 , 0.2 , None ]},
150
150
{'y' : [],
151
- 'line' : {'color' : 'rgb(214, 39, 40) ' },
151
+ 'line' : {'color' : '#FF4136 ' },
152
152
'showlegend' : False ,
153
153
'name' : 'Decreasing' ,
154
154
'text' : (),
@@ -172,7 +172,7 @@ def test_one_ohlc_increase(self):
172
172
'xaxis' : {'zeroline' : False }},
173
173
'data' : [{'y' : [33.0 , 33.0 , 33.2 , 32.7 ,
174
174
33.1 , 33.1 , None ],
175
- 'line' : {'color' : 'rgb(44, 160, 44) ' },
175
+ 'line' : {'color' : '#3D9970 ' },
176
176
'showlegend' : False ,
177
177
'name' : 'Increasing' ,
178
178
'text' : ('Open' , 'Open' , 'High' , 'Low' ,
@@ -198,7 +198,7 @@ def test_one_ohlc_decrease(self):
198
198
'xaxis' : {'zeroline' : False }},
199
199
'data' : [{'y' : [33.0 , 33.0 , 33.2 , 30.7 ,
200
200
31.1 , 31.1 , None ],
201
- 'line' : {'color' : 'rgb(214, 39, 40) ' },
201
+ 'line' : {'color' : '#FF4136 ' },
202
202
'showlegend' : False ,
203
203
'name' : 'Decreasing' ,
204
204
'text' : ('Open' , 'Open' , 'High' , 'Low' ,
@@ -230,18 +230,16 @@ def test_one_candlestick(self):
230
230
'x' : [0 ],
231
231
'legendgroup' : 'Increasing' },
232
232
{'y' : [0.10000000000000142 ],
233
- 'line' : {'width' : 4 ,
234
- 'color' : 'rgb(44, 160, 44)' },
233
+ 'line' : {'color' : '#3D9970' },
235
234
'hoverinfo' : 'none' ,
236
- 'marker' : {'color' : 'rgb(44, 160, 44) ' },
235
+ 'marker' : {'color' : '#3D9970 ' },
237
236
'showlegend' : False ,
238
237
'legendgroup' : 'Increasing' ,
239
238
'name' : 'Increasing' ,
240
239
'type' : 'bar' , 'x' : [0 ]},
241
240
{'y' : [32.7 , 33.0 , 33.1 , 33.2 , None ],
242
- 'line' : {'width' : 4 ,
243
- 'color' : 'rgb(44, 160, 44)' },
244
- 'marker' : {'color' : 'rgb(44, 160, 44)' },
241
+ 'line' : {'color' : '#3D9970' },
242
+ 'marker' : {'color' : '#3D9970' },
245
243
'showlegend' : False ,
246
244
'legendgroup' : 'Increasing' ,
247
245
'name' : 'Increasing' ,
@@ -257,18 +255,16 @@ def test_one_candlestick(self):
257
255
'x' : [],
258
256
'legendgroup' : 'Decreasing' },
259
257
{'y' : [],
260
- 'line' : {'width' : 4 ,
261
- 'color' : 'rgb(214, 39, 40)' },
258
+ 'line' : {'color' : '#FF4136' },
262
259
'hoverinfo' : 'none' ,
263
- 'marker' : {'color' : 'rgb(214, 39, 40) ' },
260
+ 'marker' : {'color' : '#FF4136 ' },
264
261
'showlegend' : False ,
265
262
'legendgroup' : 'Decreasing' ,
266
263
'name' : 'Decreasing' ,
267
264
'type' : 'bar' , 'x' : []},
268
265
{'y' : [],
269
- 'line' : {'width' : 4 ,
270
- 'color' : 'rgb(214, 39, 40)' },
271
- 'marker' : {'color' : 'rgb(214, 39, 40)' },
266
+ 'line' : {'color' : '#FF4136' },
267
+ 'marker' : {'color' : '#FF4136' },
272
268
'showlegend' : False ,
273
269
'legendgroup' : 'Decreasing' ,
274
270
'name' : 'Decreasing' ,
@@ -308,7 +304,7 @@ def test_datetime_ohlc(self):
308
304
None , 33.05 , 33.05 , 33.25 , 32.75 , 33.1 ,
309
305
33.1 , None , 33.5 , 33.5 , 34.62 , 32.87 , 33.7 ,
310
306
33.7 , None ],
311
- 'line' : {'color' : 'rgb(44, 160, 44) ' },
307
+ 'line' : {'color' : '#3D9970 ' },
312
308
'showlegend' : False , 'name' : 'Increasing' ,
313
309
'text' : ('Open' , 'Open' , 'High' , 'Low' , 'Close' ,
314
310
'Close' , '' , 'Open' , 'Open' , 'High' ,
@@ -350,7 +346,7 @@ def test_datetime_ohlc(self):
350
346
33.37 , None , 34.12 , 34.12 , 35.18 , 30.81 ,
351
347
31.18 , 31.18 , None , 33.31 , 33.31 , 35.37 ,
352
348
32.75 , 32.93 , 32.93 , None ],
353
- 'line' : {'color' : 'rgb(214, 39, 40) ' },
349
+ 'line' : {'color' : '#FF4136 ' },
354
350
'showlegend' : False , 'name' : 'Decreasing' ,
355
351
'text' : ('Open' , 'Open' , 'High' , 'Low' , 'Close' ,
356
352
'Close' , '' , 'Open' , 'Open' , 'High' ,
@@ -426,9 +422,9 @@ def test_datetime_candlestick(self):
426
422
'legendgroup' : 'Increasing' },
427
423
{'y' : [1.0900000000000034 , 1.1199999999999974 ,
428
424
0.05000000000000426 , 0.20000000000000284 ],
429
- 'line' : {'width' : 4 , ' color' : 'rgb(44, 160, 44) ' },
425
+ 'line' : {'color' : '#3D9970 ' },
430
426
'hoverinfo' : 'none' ,
431
- 'marker' : {'color' : 'rgb(44, 160, 44) ' },
427
+ 'marker' : {'color' : '#3D9970 ' },
432
428
'showlegend' : False ,
433
429
'legendgroup' : 'Increasing' ,
434
430
'name' : 'Increasing' ,
@@ -441,9 +437,8 @@ def test_datetime_candlestick(self):
441
437
33.18 , 34.25 , None , 32.75 , 33.05 , 33.1 ,
442
438
33.25 , None , 32.87 , 33.5 , 33.7 , 34.62 ,
443
439
None ],
444
- 'line' : {'width' : 4 ,
445
- 'color' : 'rgb(44, 160, 44)' },
446
- 'marker' : {'color' : 'rgb(44, 160, 44)' },
440
+ 'line' : {'color' : '#3D9970' },
441
+ 'marker' : {'color' : '#3D9970' },
447
442
'showlegend' : False ,
448
443
'legendgroup' : 'Increasing' ,
449
444
'name' : 'Increasing' ,
@@ -480,9 +475,9 @@ def test_datetime_candlestick(self):
480
475
'legendgroup' : 'Decreasing' },
481
476
{'y' : [1.3800000000000026 , 0.13000000000000256 ,
482
477
2.9399999999999977 , 0.38000000000000256 ],
483
- 'line' : {'width' : 4 , ' color' : 'rgb(214, 39, 40) ' },
478
+ 'line' : {'color' : '#FF4136 ' },
484
479
'hoverinfo' : 'none' ,
485
- 'marker' : {'color' : 'rgb(214, 39, 40) ' },
480
+ 'marker' : {'color' : '#FF4136 ' },
486
481
'showlegend' : False , 'legendgroup' : 'Decreasing' ,
487
482
'name' : 'Decreasing' , 'type' : 'bar' ,
488
483
'x' : [datetime .datetime (2013 , 6 , 5 , 0 , 0 ),
@@ -493,8 +488,8 @@ def test_datetime_candlestick(self):
493
488
33.37 , 33.5 , 33.62 , None , 30.81 , 31.18 ,
494
489
34.12 , 35.18 , None , 32.75 , 32.93 , 33.31 ,
495
490
35.37 , None ],
496
- 'line' : {'width' : 4 , ' color' : 'rgb(214, 39, 40) ' },
497
- 'marker' : {'color' : 'rgb(214, 39, 40) ' },
491
+ 'line' : {'color' : '#FF4136 ' },
492
+ 'marker' : {'color' : '#FF4136 ' },
498
493
'showlegend' : False , 'legendgroup' : 'Decreasing' ,
499
494
'name' : 'Decreasing' ,
500
495
'text' : ('Low' , 'Close' , 'Open' , 'High' , '' ,
0 commit comments