Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Jun 6, 2022
0 parents commit 7eda5bf
Show file tree
Hide file tree
Showing 12 changed files with 758 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
_commit: 9418c84
_src_path: gh:dfm-io/template
day: 29
month: 7
python_version: '3.9'
slug: histogram1
title: The Histogram (Part 1)
year: 2014
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Build post

on:
push:
branches:
- main
pull_request:

jobs:
build:
uses: dfm-io/template/.github/workflows/post.yml@main
with:
python-version: "3.9"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
env
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/psf/black
rev: "22.3.0"
hooks:
- id: black-jupyter
- repo: https://github.com/kynan/nbstripout
rev: "0.5.0"
hooks:
- id: nbstripout
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2014 Dan Foreman-Mackey

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# The Histogram (Part 1)

See the published version of this post at: https://dfm.io/posts/histogram1

Open an executable version on Binder at: https://mybinder.org/v2/gh/dfm-io/post--histogram1/executed?labpath=post.ipynb
7 changes: 7 additions & 0 deletions matplotlibrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
savefig.dpi: 100
figure.dpi: 100
font.size: 14
font.family: sans-serif
font.sans-serif: Liberation Sans
font.cursive: Liberation Sans
mathtext.fontset: custom
5 changes: 5 additions & 0 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: "The Histogram (Part 1)"
date: 2014-07-29
slug: "histogram1"
source: "post--histogram1"
math: true
Loading

0 comments on commit 7eda5bf

Please sign in to comment.