We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dbb04f commit f71b87fCopy full SHA for f71b87f
refl1d/webview/server/webserver.py
@@ -47,6 +47,18 @@
47
bumps.cli.install_plugin(refl1d.fitplugin)
48
49
from .fit_thread import FitThread, EVT_FIT_COMPLETE, EVT_FIT_PROGRESS
50
+
51
+### BEGIN PATCH
52
+# patch the plotly library to disable levenshtein lookup for missing strings
53
+# which is taking a ridiculous amount of time in make_subplots
54
+# See: https://github.com/plotly/plotly.py/issues/4100
55
+def disable_find_closest_string(string, strings):
56
+ raise ValueError()
57
58
+import _plotly_utils.utils
59
+_plotly_utils.utils.find_closest_string = disable_find_closest_string
60
+### END PATCH
61
62
from .profile_plot import plot_sld_profile_plotly
63
from .varplot import plot_vars
64
# from .state_hdf5_backed import State
0 commit comments