Skip to content

feat: Support Strip Plot #252

@Bhoomika2905

Description

@Bhoomika2905

Feature Request

Description

Currently, our visualization module supports only a limited subset of Seaborn Cartesian plots. To enhance analytical and visualization capabilities, we should add support for the sns.stripplot() function.
A strip plot displays individual data points for one or more categories, often with jittering to prevent overlap.
It is particularly useful for visualizing raw data distributions alongside summary plots like boxplots or violin plots.

Proposed Solution

Use Seaborn’s built-in sns.stripplot() as the plotting layer. It should handle arguments like x, y, hue, and data, and integrate smoothly with existing visualization styles and configurations.

Additional Context

Below is a simple example demonstrating how a strip plot works:

import seaborn as sns
import matplotlib.pyplot as plt

# Load sample dataset
tips = sns.load_dataset("tips")

# Create a strip plot
sns.stripplot(x="day", y="total_bill", hue="sex", data=tips, jitter=True, dodge=True)

plt.title("Seaborn Strip Plot Example")
plt.xlabel("Day of the Week")
plt.ylabel("Total Bill ($)")
plt.tight_layout()
plt.show()

Checklist

  • [ x ] I have searched for similar feature requests and confirmed that this is a new request.
  • [ x ] I have provided a clear and concise description of the feature.
  • [ x ] I have explained the motivation behind this feature request.
  • [ x ] I have outlined a proposed solution or ideas for implementing this feature.
  • [ x ] I have provided any additional context or screenshots if applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions