Skip to content

Instantly share code, notes, and snippets.

Avatar
🐢

Jack Parmer jackparmer

🐢
View GitHub Profile
View iris-3.dib
#!fsharp
#r "nuget:Dash.NET.Interactive,0.2.0-alpha.4"
#!fsharp
#r "nuget: FSharp.Data"
open FSharp.Data
let [<Literal>] Csv = "https://raw.githubusercontent.com/plotly/datasets/master/iris-id.csv"
type CsvData = CsvProvider<Csv>
View DashTable.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:1c2efd206c094ab96608299c920c103d
from jupyter_dash import JupyterDash
import dash
import dash_table as dt
import pandas as pd
import dash_bootstrap_components as dbc
from dash.dependencies import Input, Output
df = pd.read_csv('https://git.io/Juf1t')
View ssim.m
% Write MATLAB image
% saveas(gcf,'matlab_line1.png')
% Write Plotly image
% write_image(fig2plotly(gcf),'png', 'plotly_line1.png', 875, 1167, 1)
ref = imread('matlab_line1.png');
A = imread('plotly_line1.png');
View dash_proto.m
pyenv('Version','/opt/anaconda3/bin/python3');
pyenv('ExecutionMode','OutOfProcess');
pyenv
dct = py.dict(pyargs('href', 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css', ...
'rel', 'stylesheet', ...
'integrity', 'sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO', ...
'crossorigin', 'anonymous' ))
View musical_instruments.csv
We can't make this file beautiful and searchable because it's too large.
reviewerID,asin,reviewerName,helpful,reviewText,overall,summary,unixReviewTime,reviewTime
A2IBPI20UZIR0U,1384719342,"cassandra tu ""Yeah, well, that's just like, u...","[0, 0]","Not much to write about here, but it does exactly what it's supposed to. filters out the pop sounds. now my recordings are much more crisp. it is one of the lowest prices pop filters on amazon so might as well buy it, they honestly work the same despite their pricing,",5.0,good,1393545600,"02 28, 2014"
View musical_instruments.csv
We can't make this file beautiful and searchable because it's too large.
reviewerID,asin,reviewerName,helpful,reviewText,overall,summary,unixReviewTime,reviewTime
A2IBPI20UZIR0U,1384719342,"cassandra tu ""Yeah, well, that's just like, u...","[0, 0]","Not much to write about here, but it does exactly what it's supposed to. filters out the pop sounds. now my recordings are much more crisp. it is one of the lowest prices pop filters on amazon so might as well buy it, they honestly work the same despite their pricing,",5.0,good,1393545600,"02 28, 2014"
View musical_instruments.csv
We can't make this file beautiful and searchable because it's too large.
reviewerID,asin,reviewerName,helpful,reviewText,overall,summary,unixReviewTime,reviewTime
A2IBPI20UZIR0U,1384719342,"cassandra tu ""Yeah, well, that's just like, u...","[0, 0]","Not much to write about here, but it does exactly what it's supposed to. filters out the pop sounds. now my recordings are much more crisp. it is one of the lowest prices pop filters on amazon so might as well buy it, they honestly work the same despite their pricing,",5.0,good,1393545600,"02 28, 2014"
View lunar_lander.py
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
import numpy as np
import casadi
from casadi import SX, DM
from math import cos, sin
import plotly.graph_objects as go
View v_slice.py
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html
import numpy as np
import plotly.graph_objects as go
from scipy import ndimage
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']