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

Create mock data and plot #35

Merged
merged 17 commits into from
Oct 10, 2024
Merged

Create mock data and plot #35

merged 17 commits into from
Oct 10, 2024

Conversation

mccalluc
Copy link
Contributor

@mccalluc mccalluc commented Oct 2, 2024

Down the road, we wouldn't use this plot with this data -- instead it would be binned and the bin counts would be privatized and that's what we plot -- but for now the two features complement each other.

Haven't made a test for the plot function. There are tools that can do image comparisons to make sure output is stable, but I'm not sure we need anything that heavy weight at this point. Another approach would be to mock matplotlib and make sure the appropriate methods are called.

@mccalluc mccalluc marked this pull request as ready for review October 3, 2024 18:15
@mccalluc mccalluc requested a review from ekraffmiller October 3, 2024 18:15
@mccalluc mccalluc changed the title Create mock data for preview Create mock data and plot Oct 3, 2024
Copy link
Member

@ekraffmiller ekraffmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just a questions about the plot_preview()

dp_creator_ii/app/analysis_panel.py Show resolved Hide resolved
@mccalluc mccalluc requested a review from ekraffmiller October 8, 2024 18:49
Copy link
Member

@ekraffmiller ekraffmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question addressed, approving

@mccalluc mccalluc merged commit e0c2ab6 into main Oct 10, 2024
2 checks passed
@mccalluc mccalluc deleted the 30-mock-data branch October 10, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants