start new:
tmux
start new with session name:
tmux new -s myname
| import matplotlib.pyplot as plt | |
| from matplotlib import animation | |
| fig, ax = plt.subplots(figsize=(16, 2)) | |
| ax.get_xaxis().set_visible(False) | |
| ax.get_yaxis().set_visible(False) | |
| z = coke[0, :] | |
| profile = ax.pcolormesh(z[np.newaxis, :], vmin=0.0, vmax=1.0, cmap='magma_r') |
| import matplotlib.pyplot as plt | |
| import seaborn as sns | |
| rcstyle = {'axes.linewidth': 1.0, 'axes.edgecolor': 'black','ytick.minor.size': 5.0} | |
| sns.set(font_scale=2.0) | |
| sns.set_style('ticks', rcstyle) | |
| plt.figure(figsize=(18, 10)) | |
| ax = sns.heatmap(coke, cmap='magma_r', vmin=0.0, vmax=1.0) |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from mpl_toolkits.mplot3d import Axes3D | |
| from matplotlib.ticker import LinearLocator, FormatStrFormatter | |
| x = np.linspace(0.0, 1.0, coke.shape[1]) | |
| y = np.linspace(0.0, 240.0, coke.shape[0]) | |
| xx, yy = np.meshgrid(x, y) | |
| fig = plt.figure(figsize=(18, 14)) |
Link to the webinar: https://www.crowdcast.io/e/interactive