rasbt / rasbt/mlxtend

Possible to change the figure size in category_scatterplot?

Open
#628 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.2k
Forks
916
Avg merge
17h 31m
Merged PRs (30d)
4

Description

I am studying machine learning, and visualization has been always thorn in my flesh. I thank this library 'mlxtend' to let me easily draw categorical scatter plots out of pd.DataFrame. However, I have 2 questions regarding it.

Q1. Is it possible to change the figure size of the plot?

from mlxtend.plotting import category_scatter does not accept figsize as a parameter. How can I change the figure size of the plot?

Q2. How can I annotate the each point in scatter plots?
It would be very nice if I can annotate each points in a scatter plot by their label names. Can I do this with mlxtend?

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 with the category_scatter entry point and its category_scatter documentation examples. Determine how figure sizing and point annotations should be exposed for the DataFrame-based scatter plot; done when both requested capabilities are supported and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.