Skip to content

Missing plot for Making Predictions gallery example #707

@genedan

Description

@genedan

Are you on the latest chainladder version?

  • Yes, this bug occurs on the latest version.

Describe the bug in words

Making Predictions has a missing plot on the gallery page.

Image

How can the bug be reproduced?

Build the docs. A large number of warnings pop up, and this is one of the first ones:

cd docs
jb build .
/home/ubuntu/Repos/chainladder-python/docs/gallery/index.md:367: WARNING: image file not readable: images/plot_industry_to_company.png

What is the expected behavior?

Looking at the index.md page in docs/gallery, I see that there was a plot that either used to go on the card, or was a work-in-progress:

**Making Predictions**
```{image} ../images/plot_industry_to_company.png
---
alt: Making Predictions
---
```
+++
{bdg-success}`easy`

Steps to resolve

  1. Add a plot to docs/gallery/plot_industry_to_company.ipynb.
  2. Save a *.png image of the plot to docs/images called plot_industry_to_company.png

I'd be open to whatever cool ideas anyone might have for the charts. My first thought is just a simple double-bar chart, but it would be neat to capture the work comp LDFs in there somehow.

Metadata

Metadata

Assignees

Labels

Great First Contribution! 🌱Beginner friendly tickets with narrow scope and huge impact. Perfect to get your feet wet!

Type

No type

Priority

Low

Scope

Documentation

Effort

Low

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions