Skip to content

PerspectiveWidget gets in unrecoverable state #1400

Closed Answered by texodus
robambalu asked this question in Q&A
Discussion options

You must be logged in to vote

Use shift+click on the inactive columns to additional columns when in chart mode, or drag/drop them from bottom to top (this is just the reverse of the behavior of click and shift+click in Datagrid mode).

There is a bug here in PerspectiveWidget though - setting plugin to "d3_y_line" without also explicitly setting columns should not default to all columns (as it does currently), but rather should display the behavior shown in your screenshot, e.g. choose a single numeric column if one is not already in the 1st position of the column selector. To get the chart you want, the (intended) API would be:

import pandas
x = pandas.DataFrame( { "a" : list(range(10)), "b" : list(x*x for x in range(10

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by texodus
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@robambalu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1397 on April 27, 2021 18:20.