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

Update plotting documentation #351

Merged
merged 2 commits into from
Aug 19, 2022
Merged

Update plotting documentation #351

merged 2 commits into from
Aug 19, 2022

Conversation

jenhagg
Copy link
Collaborator

@jenhagg jenhagg commented Aug 19, 2022

Purpose

After the latest release of powersimdata and postreise, any scenario can be loaded from blob storage, so there is no need to download a separate zip file in order to create the plots used in the tutorial. As such we can simplify the readme for this process.

What the code is doing

Update the readme, fix an issue saving the base64 encoded image data (not sure if this is due to a jupyter/ipython update to how outputs are handled, but didn't care enough to find out), and rerun the notebook to ensure it works. I also removed the pf snapshot from the output, which reduces the notebook size from 17MB to 20KB.

Testing

Regenerated the plots and did some spot checks between docs/img (currently in git) and docs/img2 (where new outputs are written). So far I've only seen minor differences in the formatting, e.g. different sized image, but same plot. I'll continue looking into these but it should be fine.

Usage Example/Visuals

Feel free to run the notebook.

Time estimate

10 min

@jenhagg jenhagg self-assigned this Aug 19, 2022
@jenhagg jenhagg added the documentation Documentation related to package label Aug 19, 2022
docs/README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@rouille rouille left a comment

Choose a reason for hiding this comment

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

Done

@jenhagg jenhagg merged commit 562d2b4 into develop Aug 19, 2022
@jenhagg jenhagg deleted the jen/docs branch August 19, 2022 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation related to package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants