Skip to content

Commit

Permalink
Merge 05c3fd7 into 0e56dba
Browse files Browse the repository at this point in the history
  • Loading branch information
shlff committed May 12, 2020
2 parents 0e56dba + 05c3fd7 commit a601a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantecon/inequality.py
Expand Up @@ -144,7 +144,7 @@ def rank_size_plot(data, ax, label=None, c=1.0):
for plotting on, has method ax.loglog
"""
w = - np.sort(- data) # Reverse sort
w = w[:int(len(w) * c)] # extract top c%
w = w[:int(len(w) * c)] # extract top (c * 100)%
rank_data = np.arange(len(w)) + 1
size_data = w
ax.loglog(rank_data, size_data, 'o', markersize=3.0, alpha=0.5, label=label)
Expand Down

0 comments on commit a601a67

Please sign in to comment.