plotly / plotly/plotly.py

[Feature request] I think there should be an easy and straightforward way to change opacity in plotly express cloropleth maps

Open
#5,431 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

Many times in GIS and map visualization, it is useful to add a certain degree a transparency to a vector layer to see which features of the baseline map are covered by the tiles.
To my knowledge, there are options for selecting continuous and discrete color scales.
However, there isn't an option for removing the color altogether (visualizing only the vector borders) or changing the opacity of the color

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Plotly Express choropleth implementation and its existing continuous and discrete color-scale options. Check how vector borders and map layers are represented, then define the expected behavior for removing fill color or applying transparency while retaining borders. Done means the requested opacity and border-only behavior are supported and covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.