Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import matplotlib.animation as animation | |
from matplotlib import pyplot | |
import numpy as np | |
### Plot adjusting | |
pyplot.style.use("ggplot") | |
fig, g = pyplot.subplots(figsize=(9,6)) | |
pyplot.subplots_adjust(top = 0.93, left = 0.07, right = 0.93, bottom = 0.07) | |
pyplot.rcParams['axes.facecolor'] = "gray" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as pyplot | |
import matplotlib.animation as animation | |
pyplot.style.use("dark_background") | |
fig, g = pyplot.subplots(figsize=(6,6)) | |
pyplot.subplots_adjust(top = 1.0, left = 0.00, right = 1.0, bottom = 0.00) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import numpy as np | |
import matplotlib.pyplot as pyplot | |
import matplotlib.animation as animation | |
fle = "Vermeer" # File name | |
img = Image.open("C:\\Users\\Rober\\Desktop\\"+fle+".png") # Works only with png files - adjust to your directory | |
# Number of horizontal and vertical lines | |
h = img.size[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import numpy as np | |
import matplotlib.pyplot as pyplot | |
import matplotlib.animation as animation | |
fle = "Jup" # File name | |
img = Image.open("C:\\Users\\Rober\\Desktop\\"+fle+".png") # Works only with png files - adjust to your directory | |
# Number of horizontal and vertical lines | |
h = img.size[0] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inspect | |
import json | |
from typing import Dict, TypeVar | |
SerializableDataType = TypeVar( | |
"SerializableDataType", | |
bound="Serializable" | |
) |