Skip to content

Commit 3c2148d

Browse files
committed
Fixes broken images in readme
Evernote bought Skitch and now our images are broken. But good news, GitHub now supports relative links! https://github.com/blog/1395-relative-links-in-markup-files
1 parent 9f65626 commit 3c2148d

6 files changed

+5
-10
lines changed

README.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ for the normal distribution.
102102
```clojure
103103
examples> (ex/sum-density-chart hist) ;; also see (ex/cdf-pdf-chart hist)
104104
```
105-
![Histogram from normal distribution]
106-
(https://www.evernote.com/shard/s4/sh/acee03ad-4f5f-4fbf-82f1-5dc7301fc260/85e8b22b12e02a302198110ca77a89b2/res/eb14258d-2830-4362-aca4-590c83866946/skitch.png)
105+
![Histogram from normal distribution](img/normal.png)
107106

108107
The histogram approximates distributions using a constant number of
109108
bins. This bin limit is a parameter when creating a histogram
@@ -146,8 +145,7 @@ examples> (ex/multi-pdf-chart
146145
[(reduce insert! (create :bins 8) ex/mixed-normal-data)
147146
(reduce insert! (create :bins 64) ex/mixed-normal-data)])
148147
```
149-
![8 and 64 bins histograms]
150-
(https://www.evernote.com/shard/s4/sh/580f6e58-2e9d-42f1-8288-d84013fa962d/38b9d70534c37ff680c68bd2f251d710/res/9451f44b-e364-499e-af78-a827729b9612/skitch.png)
148+
![8 and 64 bins histograms](img/bin-limit.png)
151149

152150
Another option when creating a histogram is to use *gap
153151
weighting*. When `:gap-weighted?` is true, the histogram is encouraged
@@ -165,8 +163,7 @@ examples> (ex/multi-pdf-chart
165163
(reduce insert! (create :bins 8 :gap-weighted? false)
166164
ex/normal-data)])
167165
```
168-
![Gap weighting vs. No gap weighting]
169-
(https://www.evernote.com/shard/s4/sh/526873b6-e8dc-458a-a7e5-805faa66d9a0/e6144df90e693bdba08256bab325f241/res/6acb5020-0e4e-4bc5-8185-249f7f090a88/skitch.png)
166+
![Gap weighting vs. No gap weighting](img/gap-weighting.png)
170167

171168
# Merging
172169

@@ -184,8 +181,7 @@ examples> (let [samples (partition 1000 ex/mixed-normal-data)
184181
merged (reduce merge! (create) (take 300 hists))]
185182
(ex/multi-pdf-chart [(first hists) merged]))
186183
```
187-
![Merged histograms]
188-
(https://www.evernote.com/shard/s4/sh/3ed19b0c-11a9-4c21-a751-5d5cdaede224/f0429a26c621f89ccaa52e6c476d98bb/res/a6ea07e9-90d5-4309-968b-e1095505a13d/skitch.png)
184+
![Merged histograms](img/merging.png)
189185

190186
# Targets
191187

@@ -281,8 +277,7 @@ examples> (def hist (let [target-data (map (fn [x] [x (make-y x)])
281277
target-data)))
282278
examples> (ex/pdf-target-chart hist)
283279
```
284-
![Numeric target]
285-
(https://www.evernote.com/shard/s4/sh/34b51a39-b090-4f33-93a2-7be1112b869e/e3d276b3adb347b3c493a295bb585f8d/res/4a254bbb-6111-43cb-826d-f09d8d3048c7/skitch.png)
280+
![Numeric target](img/targets.png)
286281

287282
Continuing with the same histogram, we can see that `average-target`
288283
produces values close to original target:

img/bin-limit.png

33.1 KB
Loading

img/gap-weighting.png

27.2 KB
Loading

img/merging.png

37.5 KB
Loading

img/normal.png

24.1 KB
Loading

img/targets.png

27.3 KB
Loading

0 commit comments

Comments
 (0)