module 'plotly' has no attribute 'plotly'

Aperta
#17 6 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
jupyter-notebook, plotly, python

Direzione di ricerca

Start by running basic_gp.ipynb and the two GPy.plotting commands shown in the report with the reported Plotly setup. Trace where the Plotly backend is selected and where GPy.plotting.show is called. Done means the notebook displays or saves the plot without the module attribute error or the reported deprecation warning.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hello, I'm trying to run basic_gp, but when I run

GPy.plotting.show(fig, filename='basic_gp_regression_notebook')

it returns

module 'plotly' has no attribute 'plotly'

also when I type

GPy.plotting.change_plotting_library('plotly')

returns

/usr/local/lib/python3.6/dist-packages/plotly/graph_objs/_deprecations.py:385: DeprecationWarning:

plotly.graph_objs.Line is deprecated.
Please replace it with one of the following more specific types
  - plotly.graph_objs.scatter.Line
  - plotly.graph_objs.layout.shape.Line
  - etc.

What should I do?

Lingua principale
Jupyter Notebook
Stelle
170
Fork
106
Merge medio
21m
PR unite (30g)
4

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SheffieldML/notebook

Tutte le issue di SheffieldML/notebook

Issue simili

Altre issue su Data Visualization

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.