Skip to content

Apply PyMC brand theme to Model._display_ mermaid diagram#8294

Merged
ricardoV94 merged 1 commit into
pymc-devs:mainfrom
williambdean:feat/mermaid-brand-theme
May 12, 2026
Merged

Apply PyMC brand theme to Model._display_ mermaid diagram#8294
ricardoV94 merged 1 commit into
pymc-devs:mainfrom
williambdean:feat/mermaid-brand-theme

Conversation

@williambdean
Copy link
Copy Markdown
Contributor

@williambdean williambdean commented May 12, 2026

Add PyMC brand styling (teal #12698A nodes, white text, dark gray edges) to the mermaid graph rendered in marimo via Model._display_. Falls back to the default theme if the marimo version does not support theme_variables.

This requires marimo >= 0.23.7 (unreleased) for the full experience. (marimo-team/marimo#9478)

Apply bold brand theme (teal #12698A nodes, white text, dark gray
lines) to the mermaid graph shown in marimo notebooks via _display_.
Falls back gracefully to the default theme when marimo does not yet
support the theme_variables parameter.
@williambdean
Copy link
Copy Markdown
Contributor Author

Screenshot 2026-05-12 at 3 28 52 PM

@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.78%. Comparing base (db6805d) to head (1b4e33e).
⚠️ Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
pymc/model/core.py 0.00% 4 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8294      +/-   ##
==========================================
- Coverage   91.89%   91.78%   -0.11%     
==========================================
  Files         125      125              
  Lines       20346    20428      +82     
==========================================
+ Hits        18696    18749      +53     
- Misses       1650     1679      +29     
Files with missing lines Coverage Δ
pymc/model/core.py 92.99% <0.00%> (-0.48%) ⬇️

... and 28 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@read-the-docs-community
Copy link
Copy Markdown

@ricardoV94 ricardoV94 changed the title feat: apply PyMC brand theme to Model._display_ mermaid diagram Apply PyMC brand theme to Model._display_ mermaid diagram May 12, 2026
@ricardoV94 ricardoV94 merged commit a65e8b6 into pymc-devs:main May 12, 2026
41 of 42 checks passed
@williambdean williambdean deleted the feat/mermaid-brand-theme branch May 13, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants