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 bb1ec26 commit 0ded668Copy full SHA for 0ded668
plot_data/core.py
@@ -1509,7 +1509,7 @@ def plot_data_path(debug_mode: bool = False, version: str = None):
1509
""" Get path of plot_data package to write it in html file of Figure to draw. """
1510
version, folder, filename = get_current_link(version=version)
1511
if debug_mode:
1512
- core_path = os.sep.join(os.getcwd().split(os.sep)[:-1] + [folder, filename])
+ core_path = os.sep.join(__file__.split(os.sep)[:-2] + [folder, filename])
1513
if os.path.isfile(core_path):
1514
return core_path.replace(" ", "%20")
1515
print(f'Local compiled {core_path} not found, fall back to CDN')
0 commit comments