has2k1 / has2k1/plotnine

Implementing geom_hex

Open
#296 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
4.8k
Forks
254
Avg merge
10h 35m
Merged PRs (30d)
9

Description

Hello, I have really enjoyed using plotnine over the past couple months, great project! I would love to be able to contribute myself, one of the things I liked from R's ggplot was geom_hex: https://www.rdocumentation.org/packages/ggplot2/versions/3.2.0/topics/geom_hex. It was a great way to visualize large amounts of data that would otherwise be a confusing mess of millions of indistinguishible dots. I would love to see in plotnine. Right now, I'm still thinking about how I would go about implementing it, but it would be built on top of matplotlib's hexbin, and would act as closely as possible to the original geom_hex of ggplot2. Is this something plotnine authors/owners/maintainers would be interested in and desire to be a part of the project? Any input on what would be expected of this new geom?

Thanks

Contributor guide

No contributing guide indexed for this repository

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 by reviewing plotnine's existing geom implementations and tests, then compare the requested behavior with ggplot2's geom_hex documentation and matplotlib's hexbin. Done means providing a geom_hex for plotnine whose behavior matches the requested ggplot2 semantics and is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.