Comments (4)
Thanks for reporting this @turbotimon, I'll let @martinfleis suggest what the best option is in terms of merging into one keyword or supporting both properly as currently documented.
from geopandas.
cmap
works by accident and color
does not work together with column
. It is one or the other, we should probably document that better. We also should support mapping of colours to values in some way but that hasn't been implemented yet. It is part of the plotting refactoring project that is on the roadmap for 1.x release once 1.0 is out.
from geopandas.
color
does not work together withcolumn
I hope this is not intentional and also included in the plotting refactoring? As in my copy-paste example, it is very helpful to pass a list of colors along with a categorical column to give the categories a meaningful or more visible color compared to the map background.
Anyway, let me know if I can help with something.
from geopandas.
column
should be used together with cmap
to assign colours to values. color
should be used alone to simply assign a color to a geometry. Not ideal, I'm aware.
The refactoring is not planned in detail yet but this use case will surely be included.
from geopandas.
Related Issues (20)
- BUG: assignment destination is read-only when assigning after applying ufunc HOT 8
- GeoSeries.transform returns "unsupported operand type(s)" HOT 5
- ENH: Allow to change schema and/or metadata in to_parquet HOT 4
- Support `orient` keyword in to_json HOT 3
- TST/COMPAT: Ignore int64 vs int_nativesize mismatches introduced by pandas 2.x HOT 2
- COMPAT: Default value of observed parameter in dissolve
- ENH: parity between GeoDataFrame.to_json and GeoSeries.to_json HOT 1
- BUG: reducing shapely ufunc failing when called on a GeoSeries
- GeoPandas 1.0 release HOT 11
- MAINT: Fiona 1.10 support HOT 4
- BUG: up to 4 times slower in Linux compared to Windows when using gpd.read_file to read vector data HOT 6
- BUG: Is it possible to use GeoPandas on Windows 7 ?
- BUG: Unable to append to a layer when using fiona backend HOT 3
- BUG: plotting_with_geoplot example is broken HOT 1
- ENH: Add a Voronoi Diagram algorithm HOT 1
- BUG: The dissolve feature generates a new geometry HOT 4
- REGR: incorrect order of left sjoin with within predicate HOT 1
- BUG: wrong foxpro DBF file read HOT 7
- Fiona 1.10a2 issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geopandas.