Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04a979c

Browse files
committed
Fixing build
1 parent7694d3f commit04a979c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎projects/plotly/src/lib/plotly.service.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ export class PlotlyService {
9595
publicplot(div:Plotly.PlotlyHTMLElement,data:Plotly.Data[],layout?:Partial<Plotly.Layout>,config?:Partial<Plotly.Config>,frames?:Partial<Plotly.Config>[]):Promise<any>{
9696
if(frames){
9797
constobj={data, layout, config, frames};
98-
if(typeOf(this.__getPlotly.plot==='function')){
98+
if(typeof(this._getPlotly().plot)==='function'){
9999
returnthis._getPlotly().plot(div,obj)asPromise<any>;
100100
}else{
101101
// Adds support for Plotly 2.0.0 release candidates
102102
returnthis._getPlotly().newPlot(div,obj)asPromise<any>;
103103
}
104104
}
105105

106-
if(typeOf(this.__getPlotly.plot==='function')){
106+
if(typeof(this._getPlotly().plot)==='function'){
107107
returnthis._getPlotly().plot(div,data,layout,config)asPromise<any>;
108108
}else{
109109
// Adds support for Plotly 2.0.0 release candidates

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp