validator function | # rcparams | rcParams | |
---|---|---|---|
0 | validate_bool | 71 | backend_fallback, interactive, webagg.open_in_browser, lines.antialiased, lines.scale_dashes, pcolormesh.snap, patch.force_edgecolor, patch.antialiased, boxplot.notch, boxplot.vertical, boxplot.patchartist, boxplot.showmeans, boxplot.showcaps, boxplot.showbox, boxplot.showfliers, boxplot.meanline, text.usetex, text.antialiased, text.parse_math, image.resample, image.composite_image, contour.corner_mask, axes.spines.left, axes.spines.right, axes.spines.bottom, axes.spines.top, axes.grid, axes.formatter.use_locale, axes.formatter.use_mathtext, axes.formatter.useoffset, axes.unicode_minus, polaraxes.grid, axes3d.grid, axes3d.automargin, 'date.interval_multiples', legend.fancybox, legend.shadow, legend.frameon, xtick.top, xtick.bottom, xtick.labeltop, xtick.labelbottom, xtick.minor.visible, xtick.minor.top, xtick.minor.bottom, xtick.major.top, xtick.major.bottom, ytick.left, ytick.right, ytic |
This file contains hidden or 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
test_badges.py::test_badges <paragraph classes="tags"><inline>Tags: </inline><pending_xref classes="sd-sphinx-override sd-badge sd-bg-primary sd-bg-text-primary" refdoc="page_1" refdomain="" refexplicit="True" reftarget="_tags/tag-1" reftype="any" refwarn="True"><inline classes="xref any">tag-1</inline></pending_xref></paragraph> | |
<paragraph classes="tags"><inline>Tags: </inline><pending_xref classes="sd-sphinx-override sd-badge sd-bg-primary sd-bg-text-primary" refdoc="page_1" refdomain="" refexplicit="True" reftarget="_tags/tag-1" reftype="any" refwarn="True"><inline classes="xref any">tag-1</inline></pending_xref><inline> </inline><pending_xref classes="sd-sphinx-override sd-badge sd-bg-secondary sd-bg-text-secondary" refdoc="page_1" refdomain="" refexplicit="True" reftarget="_tags/tag-2" reftype="any" refwarn="True"><inline classes="xref any">tag-2</inline></pending_xref></paragraph> | |
<paragraph classes="tags"><inline>Tags: </inline><pending_xref classes="sd-sphinx-override sd-badge sd-bg-primary sd-bg-text |
This file contains hidden or 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 matplotlib | |
import matplotlib.pyplot as plt | |
import matplotlib.patches as mpatches | |
matplotlib.rc('axes',edgecolor='gray', labelcolor='gray') | |
matplotlib.rc('xtick', labelcolor='gray', color='gray') | |
matplotlib.rc('ytick', labelcolor='gray', color='gray') | |
fig, axes = plt.subplots(nrows=7, ncols=2, |
This file contains hidden or 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
HTTP/1.1 200 OK | |
Accept-Ranges: bytes | |
Content-Length: 1415 | |
X-GitHub-Request-Id: CF82:3736:92844B:184904F:5FA1C50C | |
X-Ratelimit-Limit: 60 | |
X-Ratelimit-Remaining: 59 | |
X-Ratelimit-Reset: 1604440860 | |
X-Ratelimit-Used: 1 | |
access-control-allow-origin: * | |
access-control-expose-headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset |
This file contains hidden or 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
numpy | |
scipy | |
matplotlib | |
cartopy | |
netCDF4 | |
xarray | |
pandas | |
geopandas | |
geoplot | |
scikit-image |
This file contains hidden or 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
def to24(time): | |
try: | |
hour, minute, local = time.split(":") | |
except (ValueError, AttributeError): | |
return time | |
h = int(hour) | |
m = int(minute) | |
if time.endswith('AM'): |
This file contains hidden or 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 plt | |
import matplotlib.ticker as mticker | |
fig, ax = plt.subplots() | |
s = ax.scatter([0, .5, 1], [1, .5, 0], c=[1,2,3], | |
edgecolor='k', s=1000, zorder=10) | |
im = ax.matshow([[1,1,1],[2,2,2],[3,3,3]], cmap='RdBu') | |
fig.colorbar(s) | |
fig.colorbar(im) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Using the code from chapter 10 (https://github.com/ccnycs/csc212/tree/master/code/chap10)
Implement:
- the bt_class.template
- A function that checks if the binary tree is a binary search tree:
bool isBST()
- A function that checks if the binary tree is a max or min heap:
Using the linked list class from homework 3, implement a queue class with the following methods:
- push
- pop
- front
- back
Then use that queue to solve the following problem:
Write a simulation program of the lines at a grocery store. The program will be similar to the car wash simulation, except that there
NewerOlder