Skip to content

Simplify implementation around plots/views #56

@johny-b

Description

@johny-b

It's just very confusing now and Claude seems to be confused, could be much easier.

Perhaps we just don't want question.view(MODELS)? It's a complication and .view(df) is almost never worse.

IOW,

question.view(MODELS)

becomes

question.view(question.df(MODELS))

and the code becomes much easier.
We should probably gracefully handle this somehow? Like, if the first argument to Question.view is a dict, have a clear error mentioning this recently changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions