function latexcopy(data, floatingOutput)
if ~exist('floatingOutput','var')
floatingOutput = false;
![frog.gif](https://gist.github.com/nikosavola/5a8fb6c5bacf771afc56ad4d8abb09ed/raw/773c1783bbf4e426962f3ad3c18caa0161cb58df/frog.gif)
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
## https://matplotlib.org/3.3.3/tutorials/introductory/customizing.html | |
axes.prop_cycle : cycler('color', ['008fd5', 'fc4f30', '68dc9b', 'ffdf54', '8b8b8b', '810f7c']) # Modified fivethirtyeight | |
axes.xmargin : 0 # axis tight | |
axes.facecolor : white # background colour | |
axes.linewidth : 1.2 | |
font.family : serif | |
font.sans-serif : Arial | |
font.serif : Adobe Text Pro |
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
Phil Collins ████░░░░░░░░░░░░░ 22 plays | |
Bad Bunny ██▌░░░░░░░░░░░░░░ 14 plays | |
Knife Party █▊░░░░░░░░░░░░░░░ 10 plays | |
Olavi Uusivirta █▋░░░░░░░░░░░░░░░ 9 plays | |
Deftones █▍░░░░░░░░░░░░░░░ 8 plays | |
King Gizzard & The Lizard █▍░░░░░░░░░░░░░░░ 8 plays | |
Amaranthe █░░░░░░░░░░░░░░░░ 6 plays | |
Reem █░░░░░░░░░░░░░░░░ 6 plays | |
Battle Beast ▉░░░░░░░░░░░░░░░░ 5 plays | |
Poppy ▋░░░░░░░░░░░░░░░░ 4 plays |
Select two parameters and dependent variable from a DataFrame and plot an ´imshow´-style heatmap with isocontours.
Remember to:
import seaborn as sns
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SwitchToWindowsTerminal() | |
{ | |
windowHandleId := WinExist("ahk_exe WindowsTerminal.exe") | |
windowExistsAlready := windowHandleId > 0 | |
; If the Windows Terminal is already open, determine if we should put it in focus or minimize it. |
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
% This code lints all the .m files under working directory recursively | |
files = ls("./**/*.m"); | |
files = strsplit(string(files))'; | |
% First gather all errors | |
msgs = {}; | |
for i = 1:length(files(1:end-1)) | |
msgs{i} = checkcode(files{i},'-string'); | |
if ~isempty(msgs{i}) | |
msgs{i} = append(files{i},':',newline, msgs{i}); |
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/bash | |
sed -i -e 's/\(^ *month\) *= *["{]{*jan}*[}"]/\1 = "1"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*feb}*[}"]/\1 = "2"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*mar}*[}"]/\1 = "3"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*apr}*[}"]/\1 = "4"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*may}*[}"]/\1 = "5"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*jun}*[}"]/\1 = "6"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*jul}*[}"]/\1 = "7"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*aug}*[}"]/\1 = "8"/i' references.bib | |
sed -i -e 's/\(^ *month\) *= *["{]{*sep}*[}"]/\1 = "9"/i' references.bib |
OlderNewer