The information for new people arriving at UAM has been moved to https://github.com/MMUSCLES/UAM-README/wiki
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
using Pkg | |
Pkg.activate(".") | |
using TensorCast | |
using CuArrays | |
using BenchmarkTools | |
BenchmarkTools.DEFAULT_PARAMETERS.seconds = 0.5 | |
function test_cast(T) |
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
#!/bin/sh | |
jq -r 'def banner: "\(.) " + (28-(.|length))*"-"; | |
("Non-cell info" | banner), del(.cells), "", | |
(.cells[] | ("\(.cell_type) cell" | banner), | |
"\(.source|add)", | |
if ($show_output == "1") then | |
"", | |
( select(.cell_type=="code" and (.outputs|length)>0) | | |
("output" | banner), | |
(.outputs[] | |
Very useful collection of extensions for Jupyter Notebook (not JupyterLab though): https://github.com/ipython-contrib/jupyter_contrib_nbextensions - installed on soleus, all the extensions can be activated/configured through the "Nbextensions" tab in the notebook tree view (the "file explorer").
I have written two matplotlib style files, jf.mplstyle
(default line colors based on seaborn with small modifications) and jf_cb.mplstyle
(default line colors based on recommendations for viewers with colorblindness from Nature Methods 8, 441 (2011)).
To use these, you can either (after having run import matplotlib.pyplot as plt
or %pylab inline
before)
- call
plt.style.use('https://johannesfeist.eu/misc/jf.mplstyle')
in your python notebook to use the style file you want directly from my server. - or download the file and save it into into your local matplotlib style directo