Skip to content

GraphPadPrism style: 1 pt axis lines, ticks and data lines - #11

Merged
FridrichMethod merged 2 commits into
mainfrom
feat/style-1pt-axes
Nov 17, 2026
Merged

FridrichMethod merged 2 commits into
mainfrom
feat/style-1pt-axes

Conversation

@FridrichMethod

Copy link
Copy Markdown
Owner

Summary

Thins the lines of GraphPadPrism.mplstyle, which looked heavy next to the 8 pt text:

Setting Before After
axes.linewidth 1.5 pt 1 pt
xtick/ytick major.width and minor.width 1.5 pt 1 pt
lines.linewidth (data lines, and error bars, which follow it) 2 pt 1 pt

1 pt is what we believe GraphPad Prism uses by default; Prism's documentation shows the default only in screenshots, so the number is not confirmed from text.

The 10 example figures with axes or data lines are regenerated (PNG, SVG, PDF). README's style table and AGENTS.md's style section give the new widths.

Test plan

  • New test_axis_lines_ticks_and_data_lines_are_1pt checks the drawn spines, all major and minor ticks, and a data line; it fails on the old style ({1.5}, then {1.0, 2.0}) and passes now.
  • Visual check of the regenerated figures.
  • pre-commit run --all-files
  • pytest (299 passed), also locally with Matplotlib 3.8.0 / NumPy 1.26.4.

Copilot AI balanced review requested due to automatic review settings November 17, 2026 02:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@FridrichMethod
FridrichMethod merged commit 550f480 into main Nov 17, 2026
3 checks passed
@FridrichMethod
FridrichMethod deleted the feat/style-1pt-axes branch November 17, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants