Skip to content

Commit

Permalink
Passing p_thres in plot_lisa_cluster. This fixes #971
Browse files Browse the repository at this point in the history
  • Loading branch information
darribas committed Sep 1, 2017
1 parent a73bbb3 commit 101773c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysal/contrib/viz/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ def plot_lisa_cluster(shp_link, lisa, p_thres=0.01, shp_type='poly',
shp = ps.open(shp_link)
# Lisa layer
lisa_obj = map_poly_shp(shp)
lisa_obj = base_lisa_cluster(lisa_obj, lisa)
lisa_obj = base_lisa_cluster(lisa_obj, lisa, p_thres=p_thres)
lisa_obj.set_alpha(alpha)
# Figure
fig = plt.figure(figsize=figsize)
Expand Down

0 comments on commit 101773c

Please sign in to comment.