After multiplying a line with a constant (several orders of magnitude). I want to add another axis, set the previous line to be invisible and add another line which has the new axis affixed to it.
I try to do this by:
figure_obj.extra_y_ranges = {"add_y": Range1d(start = np.amin(dataset["y"]),
end = np.amax(dataset["y"]))}
After multiplying a line with a constant (several orders of magnitude). I want to add another axis, set the previous line to be invisible and add another line which has the new axis affixed to it.
Nothing with that code looks amiss, offhand. It's possible there is some event plumbing that is not hooked up properly such that new axes don't get rendered as expected. Certainly we'd like to fix that if that is the case (or whatever the root issue is). If you can provide a minimal complete example that reproduces this behavior and put it in a GH issue, that will go a tremendous way towards helping anyone who looks into the issue.
Thanks,
Bryan
···
On Apr 22, 2016, at 5:37 AM, Robert Solli <[email protected]> wrote:
A note is that the above is run as a callback on an .on_change trigger in a document hosted by a bokeh server.
After multiplying a line with a constant (several orders of magnitude). I want to add another axis, set the previous line to be invisible and add another line which has the new axis affixed to it.
I try to do this by:
I’m working on writing a bit of code that replicates the problem. Meanwhile I see that the server outputs this message:
2016-04-23 17:30:53,642 JSON had attr ‘y_range_name’ on obj <bokeh.models.glyphs.Line object at 0x7f715ea13c88>, which is a client-only or invalid attribute that shouldn’t have been sent
Nothing with that code looks amiss, offhand. It’s possible there is some event plumbing that is not hooked up properly such that new axes don’t get rendered as expected. Certainly we’d like to fix that if that is the case (or whatever the root issue is). If you can provide a minimal complete example that reproduces this behavior and put it in a GH issue, that will go a tremendous way towards helping anyone who looks into the issue.
After multiplying a line with a constant (several orders of magnitude). I want to add another axis, set the previous line to be invisible and add another line which has the new axis affixed to it.
Nothing with that code looks amiss, offhand. It’s possible there is some event plumbing that is not hooked up properly such that new axes don’t get rendered as expected. Certainly we’d like to fix that if that is the case (or whatever the root issue is). If you can provide a minimal complete example that reproduces this behavior and put it in a GH issue, that will go a tremendous way towards helping anyone who looks into the issue.
After multiplying a line with a constant (several orders of magnitude). I want to add another axis, set the previous line to be invisible and add another line which has the new axis affixed to it.
This script has a couple of problems, when run on 0.12.0dev8 it does not update the plot at all, meanwhile the server outputs:
JSON had attr ‘level’ on obj <bokeh.models.glyphs.Line object at 0x7f39276792e8>, which is a client-only or invalid attribute that shouldn’t have been sent
On version 0.11.1 the figure dissapears after inputing a float in the text-window and triggering the .on_change.
I’m working on writing a bit of code that replicates the problem. Meanwhile I see that the server outputs this message:
2016-04-23 17:30:53,642 JSON had attr ‘y_range_name’ on obj <bokeh.models.glyphs.Line object at 0x7f715ea13c88>, which is a client-only or invalid attribute that shouldn’t have been sent
Could that have anything to do with my problem?
Cheers,
Robert
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Nothing with that code looks amiss, offhand. It’s possible there is some event plumbing that is not hooked up properly such that new axes don’t get rendered as expected. Certainly we’d like to fix that if that is the case (or whatever the root issue is). If you can provide a minimal complete example that reproduces this behavior and put it in a GH issue, that will go a tremendous way towards helping anyone who looks into the issue.
After multiplying a line with a constant (several orders of magnitude). I want to add another axis, set the previous line to be invisible and add another line which has the new axis affixed to it.