add copilot instructions and rename classes

This commit is contained in:
2026-02-02 17:21:57 +01:00
parent 02a0214539
commit 6ba30ff041
12 changed files with 133 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
# Altair Migration Plan: Plotly → Altair for JPMCPlotsMixin
# Altair Migration Plan: Plotly → Altair for QualtricsPlotsMixin
**Date:** January 28, 2026
**Status:** Not Started
@@ -22,9 +22,9 @@ Current Plotly implementation has a critical layout issue: filter annotations ov
## Current System Analysis
### File Structure
- **`plots.py`** - Contains `JPMCPlotsMixin` class with 10 plotting methods
- **`plots.py`** - Contains `QualtricsPlotsMixin` class with 10 plotting methods
- **`theme.py`** - Contains `ColorPalette` class with all styling constants
- **`utils.py`** - Contains `JPMCSurvey` class that mixes in `JPMCPlotsMixin`
- **`utils.py`** - Contains `QualtricsSurvey` class that mixes in `QualtricsPlotsMixin`
### Color Palette (from theme.py)
```python
@@ -1140,10 +1140,10 @@ uv remove plotly kaleido
```python
import marimo as mo
import polars as pl
from utils import JPMCSurvey
from utils import QualtricsSurvey
# Load sample data
survey = JPMCSurvey()
survey = QualtricsSurvey()
survey.load_data('path/to/data')
survey.fig_save_dir = 'figures/altair_test'
@@ -1244,7 +1244,7 @@ After completing all tasks, verify the following:
### Regression Testing
- [ ] Existing Marimo notebooks still work
- [ ] Data filtering still works (`filter_data()`)
- [ ] `JPMCSurvey` class initialization unchanged
- [ ] `QualtricsSurvey` class initialization unchanged
- [ ] No breaking changes to public API
### Documentation