mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[python] matplotlib: add a comment to PlotView
This commit is contained in:
@@ -9,6 +9,8 @@ void PlotView::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
drawGrid(ctx, rect);
|
||||
}
|
||||
|
||||
// Draw labels below all figures because they're drawn on a white rectangle.
|
||||
// TODO: we could blend them in the background by adding a parameter to drawLabelsAndGraduations.
|
||||
if (m_store->axesRequested()) {
|
||||
drawAxes(ctx, rect);
|
||||
drawLabelsAndGraduations(ctx, rect, Axis::Vertical, true);
|
||||
|
||||
Reference in New Issue
Block a user