-
Notifications
You must be signed in to change notification settings - Fork 42
plot default type changes for no apparent reason #53
Comments
I assume you're creating a new query based of the old look.query but with the new filter? You also have to copy over the old query.vis_config (which that code doesn't do since it's just running the query outputting json). However... you may still run into this issue depending on how complicated your vis_config is. also, for now you have to do like the example does and copy over attributes from old -> new query but we'll soon launch a feature that does that work for you. |
Thanks @joeldodge79! will give that a try. |
@joeldodge79 This is how vis_config looks like in the original look:
I'll play around with some of those values to see if I can get it to look the same |
@joeldodge79 found the problem (I think it is a bug) I manually changed all these in the dictionary before copying it over, and that fixed it
|
yep, that's the bug. glad that fix worked for you |
I'm Using:
https://github.com/looker-open-source/sdk-examples/blob/master/python/run_look_with_filters.py
To change the filter of a Look before retrieving the png of my visualization.
My Look visualization is an horizontal bar plot
when I do run_look('png')
The png shows the original horizontal bar plot
However when I use the code in:
https://github.com/looker-open-source/sdk-examples/blob/master/python/run_look_with_filters.py
to change the filter for my look the png comes back as a vertical bar plot instead
Is this a bug? can I make it give me back the original horizontal bar plot but with the new filter?
The text was updated successfully, but these errors were encountered: