Skip to content

Automatically generate legend #4

@spiffwalker

Description

@spiffwalker

Folium does not natively support generation of a legend with scatter plots.

This leaves the following options:

  1. Switch from using Folium to a different framework or simply Basemap + Matplotlib

  2. Create a new MacroElement class that contains the legend. Following the example of the fullscreen plugin here

  3. Inject the JS/Html manually..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions