File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import DefaultEditor from './DefaultEditor';
2
2
import PropTypes from 'prop-types' ;
3
3
import React , { Component } from 'react' ;
4
4
import { bem } from './lib' ;
5
- import { noShame , maybeClearAxisTypes } from './shame' ;
5
+ import { maybeClearAxisTypes } from './shame' ;
6
6
import { EDITOR_ACTIONS } from './lib/constants' ;
7
7
import isNumeric from 'fast-isnumeric' ;
8
8
import nestedProperty from 'plotly.js/src/lib/nested_property' ;
@@ -11,8 +11,6 @@ class PlotlyEditor extends Component {
11
11
constructor ( props , context ) {
12
12
super ( props , context ) ;
13
13
14
- noShame ( { plotly : this . props . plotly } ) ;
15
-
16
14
// we only need to compute this once.
17
15
if ( this . props . plotly ) {
18
16
this . plotSchema = this . props . plotly . PlotSchema . get ( ) ;
Original file line number Diff line number Diff line change 1
1
/*
2
2
* DELETE THIS FILE. EVERYTHING NEEDS TO FIND A HOME.
3
3
*/
4
- import { list , getFromId } from 'plotly.js/src/plots/cartesian/axis_ids' ;
4
+ import { getFromId } from 'plotly.js/src/plots/cartesian/axis_ids' ;
5
5
import nestedProperty from 'plotly.js/src/lib/nested_property' ;
6
6
7
- export function noShame ( opts ) {
8
- if ( opts . plotly && ! opts . plotly . Axes ) {
9
- opts . plotly . Axes = { list} ;
10
- }
11
- }
7
+
12
8
13
9
// Temporary fix for:
14
10
// https://github.com/plotly/react-plotly.js-editor/issues/103
You can’t perform that action at this time.
0 commit comments