File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ var deprecationWarning = [
4
+ '*heatmapgl* trace is deprecated!' ,
5
+ 'Please consider switching to the *heatmap* or *image* trace types.' ,
6
+ 'Alternatively you could contribute/sponsor rewriting this trace type' ,
7
+ 'based on cartesian features and using regl framework.'
8
+ ] . join ( ' ' ) ;
9
+
3
10
module . exports = {
4
11
attributes : require ( './attributes' ) ,
5
12
supplyDefaults : require ( './defaults' ) ,
@@ -14,6 +21,7 @@ module.exports = {
14
21
categories : [ 'gl' , 'gl2d' , '2dMap' ] ,
15
22
meta : {
16
23
description : [
24
+ deprecationWarning ,
17
25
'WebGL version of the heatmap trace type.'
18
26
] . join ( ' ' )
19
27
}
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ var deprecationWarning = [
4
+ '*pointcloud* trace is deprecated!' ,
5
+ 'Please consider switching to the *scattergl* trace type.'
6
+ ] . join ( ' ' ) ;
7
+
3
8
module . exports = {
4
9
attributes : require ( './attributes' ) ,
5
10
supplyDefaults : require ( './defaults' ) ,
@@ -14,6 +19,7 @@ module.exports = {
14
19
categories : [ 'gl' , 'gl2d' , 'showLegend' ] ,
15
20
meta : {
16
21
description : [
22
+ deprecationWarning ,
17
23
'The data visualized as a point cloud set in `x` and `y`' ,
18
24
'using the WebGl plotting engine.'
19
25
] . join ( ' ' )
You can’t perform that action at this time.
0 commit comments