@@ -183,29 +183,20 @@ export const BinningDropdown = connectToContainer(UnconnectedDropdown, {
183
183
export const HistogramInfoVertical = connectToContainer ( Info , {
184
184
modifyPlotProps : ( props , context , plotProps ) => {
185
185
plotProps . isVisible =
186
- context . container . type === 'histogram' &&
187
- context . container . orientation === 'v' ;
186
+ context . fullContainer . type === 'histogram' &&
187
+ context . fullContainer . orientation === 'v' ;
188
188
return plotProps ;
189
189
} ,
190
190
} ) ;
191
191
export const HistogramInfoHorizontal = connectToContainer ( Info , {
192
192
modifyPlotProps : ( props , context , plotProps ) => {
193
193
plotProps . isVisible =
194
- context . container . type === 'histogram' &&
195
- context . container . orientation === 'h' ;
194
+ context . fullContainer . type === 'histogram' &&
195
+ context . fullContainer . orientation === 'h' ;
196
196
return plotProps ;
197
197
} ,
198
198
} ) ;
199
199
200
- export const ColorscaleNumeric = connectToContainer ( UnconnectedNumeric , {
201
- modifyPlotProps : ( props , context , plotProps ) => {
202
- const { fullContainer} = plotProps ;
203
- if ( plotProps . isVisible && fullContainer && fullContainer . zauto ) {
204
- plotProps . isVisible = false ;
205
- }
206
- } ,
207
- } ) ;
208
-
209
200
export const AxesRange = connectToContainer ( UnconnectedAxisRangeValue , {
210
201
modifyPlotProps : ( props , context , plotProps ) => {
211
202
const { fullContainer} = plotProps ;
0 commit comments