Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

module 'plotly' has no attribute 'plotly'

Abierto
#17 6 comentarios 3 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
jupyter-notebook, plotly, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
Jupyter Notebook
Estrellas
170
Forks
106
Merge medio
21 min
PR fusionados (30 d)
4

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de SheffieldML/notebook

Todos los issues de SheffieldML/notebook

Issues similares

Más issues de Data Visualization

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.