Skip to content

Scatter Plot x-Axis confuses the categorical variable #7308

Description

@chhemo

In some cases, when for the x-Axis of the scatter plot a categorical variable is chosen, the labels do not fit the data. If coloring for the same variable is chosen, the error becomes clear.

Orange 3.40.0
Installed via PIP
Windows 11 Enterprise V 25H2

Data and Project with error are attached.

Image

Activity

  1. added
    bug reportBug is reported by user, not yet confirmed by the core team
    on Jul 6, 2026
  2. chhemo commented on Jul 6, 2026

    @chhemo
    Author

    Data and Project example cannot be attached somehow. Please do contact me for the example files.

  3. processo commented on Sep 5, 2026

    @processo

    I'm not sure if this happened but on input change the legend is updated while axis labels are not always (bigger changes like adding new values does trigger an update).

    @chhemo, could you try changing Axis x variable to something else then back and see if that fixes it?

    How to reproduce:

    1. load this with File or CSV Import:
    category,value
    1,0
    2,0.5
    
    1. add Scatter Plot and set Axis x and Color to category
    2. edit category names in source file
    3. press Reload in File or CSV Import
    4. observe updated legend but not updated axis labels:
    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportBug is reported by user, not yet confirmed by the core team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions