Skip to content

Commit

Permalink
Merge pull request #6717 from ajdapretnar/desc-fix
Browse files Browse the repository at this point in the history
Unify category descriptions.
  • Loading branch information
janezd committed Feb 16, 2024
2 parents f19dd83 + eae7dab commit 53710be
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 19 deletions.
17 changes: 10 additions & 7 deletions Orange/widgets/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
NAME = "Data"
"""
====
Data
====
ID = "orange.widgets.data"
Data manipulation.
"""

DESCRIPTION = """Widgets for data manipulation."""
NAME = "Data"

LONG_DESRIPTION = """
This category contains widgets for data manipulation. This includes
loading, importing, saving, preprocessing, selection, etc.
ID = "orange.widgets.data"

"""
DESCRIPTION = """Data manipulation"""

ICON = "icons/Category-Data.svg"

Expand Down
11 changes: 9 additions & 2 deletions Orange/widgets/evaluate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
"""
Widgets from Evaluate category
========
Evaluate
========
Evaluating models.
"""

NAME = "Evaluate"

DESCRIPTION = "Evaluate classification/regression performance."
ID = "orange.widgets.evaluate"

DESCRIPTION = "Evaluate model performance"

BACKGROUND = "#C3F3F3"

Expand Down
19 changes: 14 additions & 5 deletions Orange/widgets/model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
"""Learners"""
"""
======
Models
======
NAME = 'Model'
Classifiers and regressors.
DESCRIPTION = 'Prediction.'
"""

BACKGROUND = '#FAC1D9'
NAME = "Model"

ICON = 'icons/Category-Model.svg'
ID = "orange.widgets.model"

DESCRIPTION = "Prediction"

BACKGROUND = "#FAC1D9"

ICON = "icons/Category-Model.svg"

PRIORITY = 4
4 changes: 2 additions & 2 deletions Orange/widgets/unsupervised/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"""

# Category description for the widget registry

NAME = "Unsupervised"

ID = "orange.widgets.unsupervised"

DESCRIPTION = "Unsupervised learning."

BACKGROUND = "#CAE1EF"
Expand Down
4 changes: 1 addition & 3 deletions Orange/widgets/visualize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
"""

# Category description for the widget registry

NAME = "Visualize"

ID = "orange.widgets.visualize"

DESCRIPTION = "Widgets for data visualization."
DESCRIPTION = "Data visualization"

BACKGROUND = "#FFB7B1"

Expand Down

0 comments on commit 53710be

Please sign in to comment.