def get_version_one_path() -> typing.Union[str, None]:
try:
from plotly.offline import offline as plotly_offline
except Exception:
return None
return os.path.join(
environ.paths.clean(os.path.dirname(plotly_offline.__file__)),
'plotly.min.js'
)
评论列表
文章目录