-
-
Notifications
You must be signed in to change notification settings - Fork 28
[ENH] Reimplementation of OWChoropleth #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@ajdapretnar @AndrejaKovacic take a look :) |
|
I propose switching automatically to 'mode' when discrete attribute is selected for the first time. And disabling all aggregations that don't apply. |
cd66eff to
ffdb13c
Compare
a6d2942 to
ed72b79
Compare
|
Tooltip is nice, but i think it should also include the exact values of what is being plotted for the region. |
ed72b79 to
d687c2a
Compare
Codecov Report
@@ Coverage Diff @@
## master #89 +/- ##
===========================================
+ Coverage 68.33% 83.75% +15.42%
===========================================
Files 9 9
Lines 1197 1607 +410
Branches 168 236 +68
===========================================
+ Hits 818 1346 +528
+ Misses 341 200 -141
- Partials 38 61 +23 |
835a1e4 to
613af71
Compare
|
This is now incompatible with old releases of Orange due to the changes of color palettes on Orange master. |
|
janezd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
I've clicked around and experienced no crashes. But perhaps this widget needs to be thouroughly clicked through by somebody who already used it and know practical use cases.
I reviewed the code, except the parts related to maps, about which I don't know much. I/We will have to trust you on this.
It would be great if you added more tests, but I won't object if you don't.
While possible to show maps without names and overlaying them on top of polygons, it is a lot of work. I wouldn't implement it in this pr. |
OK, understood. |
f3fcb69 to
0767f96
Compare
|
@janezd I changed the attr-agg handling to reflect the suggested changes. This should now be the final version if no additional issues are found. Now I just don't know what to do with new pallets since there is no new Orange release. Perhaps this can be merged but then we withe for new geo addon release. |
|
I think you can merge this, but wait with the release. |
0457291 to
6d83c9c
Compare
|
κῦδος for this monumental work! I'm merging it now, but the release has to wait for the release of Orange. |

Issue
The old
OWChoroplethwidget is based on a javascript library and is running in a WebviewWidget. As a result, it has a lot of hard to debug problems.Description of changes
Implemented an
OWScatterPlotBaselike plot class for dawing choropleth and maps. Update widget style to a more modern look.This is a working version for testing. Bugs may occur. Open to suggestions for small enhancements.
TODOs:
fix discret colors to be the same as agg_attr-> scatterplot doesn't support itIncludes