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 seaborn as sns | |
from scipy.optimize import curve_fit | |
# Function for linear fit | |
def func(x, a, b): | |
return a + b * x | |
# Seaborn conveniently provides the data for | |
# Anscombe's quartet. | |
df = sns.load_dataset("anscombe") |
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
<!-- Reference: https://developers.facebook.com/docs/sharing/best-practices#tags --> | |
<!-- CORE og --> | |
<!-- Title, without branding. --> | |
<meta property="og:title" content="" /> | |
<!-- Name, not URL (e.g. Apple, not apple.com) --> | |
<meta property="og:site_name" content="" /> | |
<!-- URL. Should match canonical URL for SEO. Unique identifier for your article. --> | |
<meta property="og:url" content="" /> | |
<!-- OPTIONAL description. 2-4 sentences. --> | |
<meta property="og:description" content="" /> |
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
bg = new BackgroundLayer backgroundColor:"black" | |
scroll_panel = new Layer | |
height: bg.height | |
width: bg.width | |
backgroundColor: "transparent" | |
scroll_panel.scrollVertical = true | |
scroll_content = new Layer | |
width: bg.width |
NewerOlder