File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -186,10 +186,28 @@ class App extends Component {
186
186
customConfig = { {
187
187
visibility_rules : {
188
188
blacklist : [
189
+ { type : 'attrName' , regex_match : 'font.family' } ,
189
190
{ type : 'attrName' , regex_match : 'color' } ,
190
- { type : 'attrName' , regex_match : 'font' } ,
191
191
] ,
192
- whitelist : [ { type : 'attrName' , regex_match : 'colorscale' } ] ,
192
+ whitelist : [
193
+ {
194
+ type : 'attrName' ,
195
+ regex_match :
196
+ 'colorbar(!?.bgcolor|.tickfont.color|.title.font.color|.outlinecolor|.bordercolor|.tickcolor)' ,
197
+ } ,
198
+ {
199
+ type : 'attrName' ,
200
+ regex_match :
201
+ 'coloraxis(!?.colorscale|.colorbar.outlinecolor|.colorbar.bordercolor|.colorbar.bgcolor|.colorbar.tickcolor|.colorbar.tickfont.color|.colorbar.title.font.color)' ,
202
+ } ,
203
+ { type : 'attrName' , regex_match : 'autocolorscale' } ,
204
+ { type : 'attrName' , regex_match : 'usecolormap' } ,
205
+ { type : 'attrName' , regex_match : 'bundlecolors' } ,
206
+ {
207
+ type : 'attrName' ,
208
+ regex_match : 'colorscales(!?.items.concentrationscales.colorscale)' ,
209
+ } ,
210
+ ] ,
193
211
} ,
194
212
} }
195
213
>
You can’t perform that action at this time.
0 commit comments