Is there a way to add images onto the x axis?

Open
#817 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start with plotnine's .draw() entry point and matplotlib's OffsetImage functionality, as mentioned in the issue. Determine whether plotnine can support images at x-axis tick positions and define a complete, tested behavior for image-based tick labels.

Written by the indexing model from the issue text.

Description

Feature Layout

Basically title. Is there a way within plot nine to add images in place of labels to the x axis tick positions?

I know you can get the matplotlib figure and axis using .draw() and matplotlib has this functionality using OffsetImage() but I am having a hard time actually implementing this.

Any help would be greatly appreciated

Dominant language
Python
Stars
4.8k
Forks
269
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from has2k1/plotnine

All issues in has2k1/plotnine

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.