interest_rate_widget
Interest Rate tab: table of benchmark rates on the left, time-series plot on the right.
Classes:
-
BRMSInterestRateWidget–Table + time-series plot for benchmark interest rates.
-
TimeSeriesPlotWidget–Matplotlib time-series plot that extends as dates are added.
BRMSInterestRateWidget
BRMSInterestRateWidget(parent: QWidget | None = None)
Bases: QWidget
Table + time-series plot for benchmark interest rates.
TimeSeriesPlotWidget
TimeSeriesPlotWidget(
title: str,
line_labels: list[str],
line_colors: list[str],
parent: QWidget | None = None,
)
Bases: QWidget
Matplotlib time-series plot that extends as dates are added.
Methods:
-
set_marker–Draw or remove a vertical marker line at date.
-
update_plot–Update line data and redraw.
set_marker
set_marker(date: date | None) -> None
Draw or remove a vertical marker line at date.
update_plot
update_plot(
start_date: date,
dates: list[date],
data: dict[str, list[float]],
) -> None
Update line data and redraw.