Skip to content

Commit

Permalink
updated plotting.py for link labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrunge committed Apr 22, 2023
1 parent 7168dbf commit 6587f92
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tigramite/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -4523,17 +4523,17 @@ def lin_f(x): return x

# fig = pyplot.figure(figsize=(8, 6))
fig = pyplot.figure(figsize=(10, 5))
ax = fig.add_subplot(1, 1, 1) #, projection=ccrs.Mollweide())
ax = fig.add_subplot(1, 1, 1, projection=ccrs.Mollweide())
# make the map global rather than have it zoom in to
# the extents of any plotted data
# ax.set_global()
# ax.stock_img()
# ax.coastlines()
ax.set_global()
ax.stock_img()
ax.coastlines()
# ymax = 1.
# node_pos = {'x':np.linspace(0, ymax, graph.shape[0]), 'y':np.linspace(0, ymax, graph.shape[0]),}
node_pos = {'x':np.array([10,-20,80,-50,80]),
'y':np.array([-10,70,60,-40,50]),
# 'transform':ccrs.PlateCarree()
'transform':ccrs.PlateCarree(), # t.PlateCarree()
}

# network_lower_bound = 0.
Expand Down

0 comments on commit 6587f92

Please sign in to comment.