Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

3-D plots with Plotly on mobile web get the view reset every time a button is pressed in the modebar

Ouverte
#5,352 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
javascript, python

Piste de recherche

Ouvrez le fichier plotlyBugReport.html joint et reproduisez le comportement de la modebar 3-D dans un navigateur web mobile, en basculant entre zoom, pan et rotate. Suivez les points d’entrée concernés du rendu web de Plotly et de la modebar ; le travail est terminé lorsque la modification des commandes conserve la vue actuelle au lieu de la réinitialiser.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

bug P2

Plotly is a fantastic tool to generate a great number of plots, hence I want first of all to thank the developers for a great tool.

When drawing 3-D plots, it is useful to be able to rotate, drag and zoom in coordinated way, specially on mobile, as screen is small and some details can only be seen by an appropriate combination of these. In desktop web browser, the mouse alone enables these three navigation actions, i.e. zoom with the mouse wheel, rotate with left-click and drag, pan with right-click and drag, and the modebar works as expected, i.e. pushing the zoom button allows zooming, then selecting rotate keeps the view to rotate around the new origin, and so on. On the other hand, when viewing the same plot on a mobile web browser, where touch interaction is very limited (only single touch and drag to rotate, no two-finger to pinch zoom/drag) the only way to achieve this is with the modebar, unfortunately, it does not work as expected, as everytime one selects one of the navigation commands (zoom, pan, rotate), the view goes to the default state, hence it is not possible to combine these. It would be nice if the modebar replicated in the mobile platform the performance seen in desktop, or even better two-finger drag/pinch could be used to pan/zoom, as it is done e.g. in the google glviewer, as selecting on-screen buttons in small screens is slow and problematic.

plotlyBugReport.html

Langage dominant
Python
Étoiles
18.8k
Forks
2.8k
Merge moyen
13 h 41 min
PR mergées (30 j)
21

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de plotly/plotly.py

Toutes les issues de plotly/plotly.py

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.