Skip to content

Math rendering issue in golf putting example #657

Closed
@isms

Description

@isms

Notebook title: Model building and expansion for golf putting
Notebook url: https://github.com/pymc-devs/pymc-examples/blob/main/examples/case_studies/putting_workflow.ipynb

Issue description

Small LaTeX issue ( $$ blocks) results in bad render which looks fine in the Jupyter notebook while working on it but not in the rendered result.

Rendered by sphinx

image

Code in notebook

3. The distance the ball goes, $u$, is distributed according to
$$
u \sim \mathcal{N}\left(1 + \text{distance}, \sigma_{\text{distance}} (1 + \text{distance})\right),
$$
where we will learn $\sigma_{\text{distance}}$.

Again, this is a geometry and algebra problem to work the probability that the ball goes in from any given distance:
$$
P(\text{good distance}) = P(\text{distance} < u < \text{distance} + 3)
$$

Expected output (as rendered properly while in Jupyter notebook)

image

Proposed solution

Fix $$ enclosures either inline or in the sphinx rendering pipeline

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions