Skip to content

[pull] master from polakowo:master#56

Merged
pull[bot] merged 6 commits into
PyQuantSharp:masterfrom
polakowo:master
Apr 23, 2026
Merged

[pull] master from polakowo:master#56
pull[bot] merged 6 commits into
PyQuantSharp:masterfrom
polakowo:master

Conversation

@pull

@pull pull Bot commented Apr 23, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ChadThackray and others added 6 commits April 12, 2026 11:28
- Define FigureProtocol with Capability flags for backend-neutral plotting
- Add plot_line, plot_markers, plot_area, plot_ohlc, plot_histogram,
  plot_bars, plot_hline, and plot_zone methods to FigureMixin
- Implement backend registry (register_backend, get_backend, list_backends)
  with Plotly registered as the default built-in backend
- Add create_figure() factory that routes through the registry and respects
  settings['plotting']['default_backend']
- Add resolve_backend/resolve_backend_for_fig helpers for downstream
  migration of existing plot methods
- Add assert_plotly_only_kwargs/assert_plotly_only_method guards for
  graceful non-Plotly backend error reporting
- Expose new API surface on vbt.plotting.* and top-level vbt.*
- Add default_backend='plotly' to plotting settings
- Add comprehensive test suites for protocol conformance and backend registry
- Add hover_text sequence length validation in plot_markers to raise
  ValueError on mismatched lengths
- Add plot_zone tests: minimal, color/opacity, None-param omission,
  subplot domain resolution
- Add subplot column routing tests (1x2 and 2x2 layouts) to catch
  regressions that ignore the col dimension
- Add use_widgets_setting fixture to parametrize subplot tests over
  both Figure and FigureWidget
- Add create_figure tests for rows-only, cols-only, and figure= kwarg
  routing through make_subplots
- Add backend registry tests for kwarg forwarding and unregistered
  default backend error handling
- Add to_html protocol conformance test
- Add None-param omission tests for plot_histogram and plot_area
- Fix test_unknown_backend_raises_keyerror to assert correct key name
- Compare add_hline compat test against go.Figure reference instead of
  hardcoded Plotly internals
- Rename `default_backend` setting to `default_renderer` and update all references
- Rename `register_backend`, `get_backend`, `list_backends` to `register_renderer`, `get_renderer`,
`list_renderers`
- Rename `resolve_backend`, `resolve_backend_for_fig` helpers and `backend_name` class attribute to
`renderer_name`
- Rename `_BACKEND_REGISTRY` to `_RENDERER_REGISTRY` and `BackendFactory` to `RendererFactory`
- Rename `tests/test_plotting_backend.py` to `tests/test_plotting_renderer.py`
- Clarify in `create_figure` docstring that vectorbt's `renderer=` selects the plotting library,
distinct from Plotly's own `fig.show(renderer=...)` output-format kwarg
This reverts commit 633faf1, reversing
changes made to 127c84d.
@pull pull Bot locked and limited conversation to collaborators Apr 23, 2026
@pull pull Bot added the ⤵️ pull label Apr 23, 2026
@pull pull Bot merged commit 2ba0e93 into PyQuantSharp:master Apr 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants