Giter VIP home page Giter VIP logo

Comments (4)

m-richards avatar m-richards commented on June 12, 2024 1

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.

martinfleis avatar martinfleis commented on June 12, 2024 1

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.

turbotimon avatar turbotimon commented on June 12, 2024

color does not work together with column

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.

martinfleis avatar martinfleis commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.