Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(stackedplot): address an issue where stack plot doesn't work #82

Closed
dakshpokar opened this issue Aug 19, 2024 · 0 comments · Fixed by #132
Closed

fix(stackedplot): address an issue where stack plot doesn't work #82

dakshpokar opened this issue Aug 19, 2024 · 0 comments · Fixed by #132
Assignees
Labels
bug Something isn't working

Comments

@dakshpokar
Copy link
Collaborator

Bug Report

Description

We have two stacked plot examples in: example/stacked/matplotlib/example_mpl_stacked.py and example/stacked/seaborn/example_sns_stacked.py. Both of which are failing. @SaaiVenkat has mentioned that this has happened with the new API design.

Steps to Reproduce

  1. Run the example/stacked/seaborn/example_sns_stacked.py or example/stacked/matplotlib/example_mpl_stacked.py
  2. Check the output, examples fail to run.

Error/Stack-Trace Information

Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "<stdin>", line 3, in main
  File "/Users/dakshpokar/RA/py_maidr/maidr/api.py", line 29, in stacked
    return FigureManager.create_maidr(ax, PlotType.STACKED)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dakshpokar/RA/py_maidr/maidr/core/figure_manager.py", line 53, in create_maidr
    raise ValueError("No plot found.")
ValueError: No plot found.

Additional Information

Cannot add an example file for the stacked plot in #64 because of this issue.

@dakshpokar dakshpokar added the bug Something isn't working label Aug 19, 2024
@dakshpokar dakshpokar changed the title fix(stack-plot): address an issue where stack plot doesn't work fix(stackedplot): address an issue where stack plot doesn't work Aug 19, 2024
@SaaiVenkat SaaiVenkat assigned SaaiVenkat and unassigned dakshpokar Aug 24, 2024
@dakshpokar dakshpokar assigned dakshpokar and unassigned SaaiVenkat Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants