Skip to content

Fix spurious log axes - #1555

Merged
bdlucas1 merged 2 commits into
Mathics3:masterfrom
bdlucas1:fix-spurious-log-axes
Dec 24, 2025
Merged

bdlucas1 merged 2 commits into
Mathics3:masterfrom
bdlucas1:fix-spurious-log-axes

Conversation

@bdlucas1

@bdlucas1 bdlucas1 commented Dec 23, 2025

Copy link
Copy Markdown
Collaborator

Issue #1554

PR #1553 restricted options passed from Plot to Graphics to only include valid Graphics options in order make the tests more robust. This required adding LogPlot to the list of allowable Graphics options, with a default of False. So now all Graphics objects have a LogPlot option, most with a value of False, whereas previously only log plots generated a LogPlot option in Graphics, with a value of True. However the SVG generation code in builtin/box/graphics.py did not check the value of the LogPlot option when deciding whether to generate log axes.

@rocky

rocky commented Dec 24, 2025

Copy link
Copy Markdown
Member

I had a chance to verify the fix, and it addresses the problem I encountered. Thanks.

LGTM.

@bdlucas1
bdlucas1 merged commit f80f79b into Mathics3:master Dec 24, 2025
18 of 19 checks passed
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