Skip to content

Commit

Permalink
Merge pull request #170 from anjamejac/keyword-fixes
Browse files Browse the repository at this point in the history
Keywords: changed from list to string
  • Loading branch information
janezd committed Apr 14, 2023
2 parents 1158efb + dcd365f commit 0c5c1f0
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
18 changes: 15 additions & 3 deletions doc/widgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,40 @@
"doc": "widgets/geocoding.md",
"icon": "../orangecontrib/geo/widgets/icons/Geocoding.svg",
"background": "#a0eaa0",
"keywords": []
"keywords": [
"geocoding",
"geo",
"coding"
]
},
{
"text": "Geo Map",
"doc": "widgets/geomap.md",
"icon": "../orangecontrib/geo/widgets/icons/GeoMap.svg",
"background": "#a0eaa0",
"keywords": []
"keywords": [
"geo map",
"map",
"geo"
]
},
{
"text": "Choropleth Map",
"doc": "widgets/choroplethmap.md",
"icon": "../orangecontrib/geo/widgets/icons/Choropleth.svg",
"background": "#a0eaa0",
"keywords": []
"keywords": [
"choropleth map",
"geo"
]
},
{
"text": "Geo Transform",
"doc": "widgets/geotransform.md",
"icon": "../orangecontrib/geo/widgets/icons/GeoTransform.svg",
"background": "#a0eaa0",
"keywords": [
"geo transform",
"transform",
"geo"
]
Expand Down
3 changes: 2 additions & 1 deletion orangecontrib/geo/widgets/owchoropleth.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,11 +616,12 @@ class OWChoropleth(OWWidget):
`OWChoroplethPlotGraph` is to `OWScatterPlotBase`.
"""

name = 'Choropleth Map'
name = "Choropleth Map"
description = 'A thematic map in which areas are shaded in proportion ' \
'to the measurement of the statistical variable being displayed.'
icon = "icons/Choropleth.svg"
priority = 120
keywords = "choropleth map, geo"

class Inputs:
data = Input("Data", Table, default=True)
Expand Down
3 changes: 2 additions & 1 deletion orangecontrib/geo/widgets/owgeocoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ def guess_region_attr_name(data):


class OWGeocoding(widget.OWWidget):
name = 'Geocoding'
name = "Geocoding"
description = 'Encode region names into geographical coordinates, or ' \
'reverse-geocode latitude and longitude pairs into regions.'
icon = "icons/Geocoding.svg"
priority = 40
keywords = "geocoding, geo, coding"

class Inputs:
data = Input("Data", Table, default=True)
Expand Down
2 changes: 1 addition & 1 deletion orangecontrib/geo/widgets/owgeotransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class OWGeoTransform(OWWidget):
description = "Transform geographic coordinates from one system to another."
icon = "icons/GeoTransform.svg"
priority = 320
keywords = ["transform", "geo"]
keywords = "geo transform, transform, geo"

class Inputs:
data = Input("Data", Table)
Expand Down
3 changes: 2 additions & 1 deletion orangecontrib/geo/widgets/owmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ class OWMap(OWDataProjectionWidget):
background.
"""

name = 'Geo Map'
name = "Geo Map"
description = 'Show data points on a world map.'
icon = "icons/GeoMap.svg"
priority = 100
keywords = "geo map, map, geo"

replaces = [
"Orange.widgets.visualize.owmap.OWMap",
Expand Down

0 comments on commit 0c5c1f0

Please sign in to comment.