不幸的是,在尝试plotly.js的标准示例时,我遇到了打字错误。Plotly.newPlot(...)的参数类型似乎不正确。import {Component, OnInit} from '@angular/core';import{Config, Data, Layout} from 'plotly.<e
在plotly社区(https://community.plot.ly/t/problem-with-densitymapbox-chart-type/28517)中有一个几乎与我类似的问题,但仍然没有找到解决方案导入输入、输出、状态、ClientsideFunction导入dash_core_components as dcc导入dash_html_components as html导入dash_table导入plotly.graph_objsfile__).parent
DATA_PATH = PATH
我安装了npm plotly.js,当我使用"import * as Plotly from 'plotly.js/dist/plotly';“并使用Plotly.newPlot()时,它会响应空白屏幕import * as Plotly from 'plotly.js/dist/plotly';
Pl