FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix: MarketMap not rendering and axis positioning in 0.13.0 by theomaillard · Pull Request #1705 · bqplot/bqplot · GitHub

/ bqplot Public

Fix: MarketMap not rendering and axis positioning in 0.13.0 - #1705

Merged
martinRenou merged 1 commit into
bqplot:masterfrom
theomaillard:bug-marketmap
May 7, 2026
Merged

Fix: MarketMap not rendering and axis positioning in 0.13.0#1705
martinRenou merged 1 commit into
bqplot:masterfrom
theomaillard:bug-marketmap

Conversation

Copy link
Copy Markdown
Contributor

Fixes a bug introduced after updating to 0.13.0 affecting the display of MarketMap figure and axis position.

Reproduce bug

On version 0.13.0, running cell 3 of notebook examples/Marks/Object Model/Market Map.ipynb renders blank. After fixing the rendering issue, cell 9 of the same notebook has axis mispositioned (see images below).

References

None

Code changes

  • Rename map_margin to fig_margin in market_map.py and MarketMapModel.ts to match getter in Figure.ts

  • Fix axis position by replacing this.width/this.height with this.plotareaWidth/this.plotareaHeight in MarketMap.ts

User-facing changes

Before

After

Before

After

Backwards-incompatible changes

None

- Rename map_margin to fig_margin in market_map.py and MarketMapModel.ts

- Fix axis position by replacing this.width/this.height by this.plotareaWidth/this.plotareaHeight in MarketMap.ts

martinRenou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for the PR! I'll try to make a patch release soon with this. It seems MarketMap is not tested at all on our pipeline

martinRenou merged commit 21b7238 into bqplot:master May 7, 2026
12 checks passed
theomaillard deleted the bug-marketmap branch May 7, 2026 11:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL