-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Bug: Rogue Line in scatterplot in some environments #558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That commit was part of a branch that was removing the remaining nested Could you share the data and layout you have used for this example so we could reproduce? I can't seem to make a (not) working example myself. |
so trying to reproduce it in a fresh environment and no luck... After the would styling/position not captured here affect this? |
It's possible, but unlikely. Are you on the most recent release for your local environment? It looks as if the clip is not being properly set on the plot |
Running: Chrome 49.0.2623.110 under Linux and Mac seems like it might be a clip issue: what attributes on objects / functions should i be looking at pertaining to the 'clip' plotly.js/src/plot_api/plot_api.js Line 2916 in 716a621
|
That is the correct plot clip - unfortunately they're a bit tricky to debug because you can't just add a border to them 😛 I still haven't been able to reproduce this, so any more information you come across will be helpful. |
Sorry for the radio silence... just not much I know how to do. We're pinned to 1.9.0 indefinitely until we figure this out or it magically goes away. :( |
I am facing this problem using Plotly in an Angular 2 application. The element g with class="plot" has a wrong clip-path property. Please let me know if it can be fixed, thanks. |
Interesting. Can you share a reproducible example in a codepen / jsFiddle / jsBin to help us debug? |
Here it is:
|
@dev-oups Thanks very much for that example! Here's the problematic block which I believe was put in the support Angular 1 (cc @alexcjohnson ) a few years ago. Obviously, this solution isn't working for all environments. So, instead of determining whether or not to prefix the clip paths URLs with |
Oh I think I know what's the problem. For your page window.location.href === 'http://127.0.0.1:43422/#/workspace/studies' which contains a So perhaps replacing window.location.origin + window.location.pathname
// or
window.location.href.split('#')[0] would do the trick. Copying a few colleagues that might know more about this subject @bpostlethwaite @mdtusz @monfera @rreusser @n-riesco |
A potential fix has been merged in #1203 hence closing this issue. Once plotly.js |
OK thanks. However this code brings a big limitation as mentioned in the comment the chart is not portable no more. |
Uh oh!
There was an error while loading. Please reload this page.
it seems there's a regression:
v1.9.0:
v.1.10.0-v1.11.0

using
git bisect
I narrowed it down to: b6d9930not sure what information I can provide to better help out, but just let me know so I can help out.
The text was updated successfully, but these errors were encountered: