I hereby claim:
- I am ericmjl on github.
- I am ericmjl (https://keybase.io/ericmjl) on keybase.
- I have a public key ASDNk9QK4hNKxUF5M9i0NHwP7ndUeUx2SpHYn5jhmavuxgo
To claim this, I am signing this object:
| import streamlit as st | |
| import pandas as pd | |
| st.title("A Careful Walk Through Probability Distributions with Python") | |
| st.markdown(""" | |
| _By Eric J. Ma, for PyCon 2020_ | |
| Hey there! Thanks for stopping by. |
I hereby claim:
To claim this, I am signing this object:
| from PIL import Image | |
| def read_img(fname): | |
| b = Image.open("images/{fname}_b.bmp".format(fname=fname)) | |
| r = Image.open("images/{fname}_r.bmp".format(fname=fname)) | |
| return b, r | |
| def display(fname, epd): | |
| b, r = read_img(fname) |
| from PIL import Image | |
| import numpy as np | |
| from pathlib import Path | |
| def open(fname): | |
| img = Image.open(fname).resize((384, 640)) | |
| return img | |
| def array(img): |