Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9730

set 'wheel zoom' by default for bokeh plots

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The bokeh 'wheel zoom' mode seems [imho] more intuitive then the box mode and should be the default mode for all plots.

        Attachments

          Issue Links

            Activity

            Hide
            afausti Angelo Fausti added a comment - - edited

            Here is how to control the active tools in a bokeh plot
            http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html#setting-the-active-tools

            we are using the following tools for each type of plot and now turning on the 'wheel zoom' by default.

            1) Time series plots

            Tools: Pan, x-axis Box Zoom, Wheel Zoom, Tap, Hover, Reset
            Active drag: Pan
            Active scroll: Wheel Zoom

            2) Scatter plots

            Tools: Pan, Box Zoom, Wheel Zoom, Reset
            Active drag: Pan
            Active scroll: Wheel Zoom

            3) Vertical Histograms

            Tools: y-axis Pan, y-axis Wheel Zoom, Reset
            Active drag: y-axis Pan
            Active scroll: y-axis Wheel Zoom

            4) Horizontal Histograms

            Tools: x-axis Pan, x-axis Wheel Zoom, Reset
            Active drag: x-axis Pan
            Active scroll: x-axis Wheel Zoom

            Show
            afausti Angelo Fausti added a comment - - edited Here is how to control the active tools in a bokeh plot http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html#setting-the-active-tools we are using the following tools for each type of plot and now turning on the 'wheel zoom' by default. 1) Time series plots Tools: Pan, x-axis Box Zoom, Wheel Zoom, Tap, Hover, Reset Active drag: Pan Active scroll: Wheel Zoom 2) Scatter plots Tools: Pan, Box Zoom, Wheel Zoom, Reset Active drag: Pan Active scroll: Wheel Zoom 3) Vertical Histograms Tools: y-axis Pan, y-axis Wheel Zoom, Reset Active drag: y-axis Pan Active scroll: y-axis Wheel Zoom 4) Horizontal Histograms Tools: x-axis Pan, x-axis Wheel Zoom, Reset Active drag: x-axis Pan Active scroll: x-axis Wheel Zoom
            Show
            afausti Angelo Fausti added a comment - https://github.com/lsst-sqre/qa-dashboard/compare/tickets/DM-9730

              People

              • Assignee:
                afausti Angelo Fausti
                Reporter:
                jhoblitt Joshua Hoblitt
                Watchers:
                Angelo Fausti, Jonathan Sick, Joshua Hoblitt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel