Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Feb 13, 2024
1 parent 21b61e1 commit dc96249
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/plot_interactive_wikipedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
import numpy as np
import datamapplot

wikipedia_data_map = np.load("/Users/leland/PycharmProjects/datamapplot/examples/wikipedia_layered_data_map.npy")
wikipedia_data_map = np.load("wikipedia_layered_data_map.npy")
wikipedia_label_layers = []
for i in range(6):
wikipedia_label_layers.append(
np.load(f"/Users/leland/PycharmProjects/datamapplot/examples/wikipedia_layer{i}_cluster_labels.npy", allow_pickle=True)
np.load(f"wikipedia_layer{i}_cluster_labels.npy", allow_pickle=True)
)
wikipedia_hover_text = [
x.strip()
for x in open(
"/Users/leland/PycharmProjects/datamapplot/examples/wikipedia_large_hover_text.txt",
"wikipedia_large_hover_text.txt",
mode="r"
)
]
wikipedia_marker_size_array = np.load("../doc/wikipedia_marker_size_array.npy")
wikipedia_marker_size_array = np.load("wikipedia_marker_size_array.npy")

plot = datamapplot.create_interactive_plot(
wikipedia_data_map,
Expand Down

0 comments on commit dc96249

Please sign in to comment.