forked from pyecharts/pyecharts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide pyecharts with 138,398 cities of the world with a population …
…of at least 1000 inhabitants (pyecharts#663) * ✨ OPEN / CLOSE principle - open for extension but closed for modification. Allow the extension of city coordinates so that echarts-cities-pypkg can be installed, hence 138,398 city coordinations is added covering all countries in the world * 🐛 what if no country data is returned * 🔥 remove lazy object test * 🎨 last resort, have to introduce country as a parameter to geo.add() function. no way to search for the coordinates without the country name. * 📚 documentation update * 📚 fix typos and add missing docstrings * 🔬 more unit tests * 💚 make unit test pass * 🐛 without unicode_literals but with utf-8, all Chinese strings are utf-8 encoded, hence requires decoding. * 🎨 🔨 code refacotring and 📚 update documentation * 🎨 finalized version * 🔥 remove un-used function * 🔨 change function parameter name: map_country -> coordinate_country * 🔨 country -> region * 🔨 country -> region * 🚜 rename db file * 🔨 whitening with black * 📖 update dataset * 📖 update data set country
- Loading branch information
1 parent
a4168d8
commit 7205ec0
Showing
17 changed files
with
494 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
include pyecharts/datasets/city_coordinates.json | ||
include pyecharts/datasets/countries_regions_db.json | ||
include pyecharts/templates/*.html | ||
include README.md | ||
include changelog.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.