stripe / rainier

Bayesian inference in Scala.
https://rainier.fit
Apache License 2.0
432 stars 51 forks source link

Mdoc03 #454

Closed valencik closed 4 years ago

valencik commented 4 years ago

Originally from https://github.com/valencik/rainier/pull/1

This PR adds a basic mdoc build and example doc file leveraging a few mdoc features, notably plotting via EvilPlot. Additionally this PR changes the show API in com.stripe.rainier.plot to return Drawable.

avibryant commented 4 years ago

Awesome. We'll keep iterating on this but definitely worth merging for now.

codecov-io commented 4 years ago

Codecov Report

Merging #454 into 0.3-dev will decrease coverage by 0.22%. The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           0.3-dev     #454      +/-   ##
===========================================
- Coverage    52.78%   52.55%   -0.23%     
===========================================
  Files           71       72       +1     
  Lines         2821     2833      +12     
  Branches       161      160       -1     
===========================================
  Hits          1489     1489              
- Misses        1332     1344      +12
Impacted Files Coverage Δ
...c/main/scala/com/stripe/rainier/plot/Jupyter.scala 0% <0%> (ø) :arrow_up:
...n/scala/com/stripe/rainier/plot/MdocEvilPlot.scala 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b6ee2ac...b096498. Read the comment docs.