Skip to content

Commit

Permalink
smaller scatter markers
Browse files Browse the repository at this point in the history
Former-commit-id: 38f762c5590170d3bed4e1b5f2611c8223844478
  • Loading branch information
Javi Ribera committed Sep 21, 2018
1 parent f28593c commit c07194f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions object-locator/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def make_metric_plots(csv_path, taus, radii, title=''):
if len(list_of_precisions) > 0:
# Plot average precision for all r's
ax.scatter(taus, np.average(np.stack(list_of_precisions), axis=0),
c='k', marker='s', label='avg')
c='k', marker='s', s=1, label='avg')



Expand Down Expand Up @@ -385,7 +385,7 @@ def make_metric_plots(csv_path, taus, radii, title=''):

if len(list_of_recalls) > 0:
ax.scatter(taus, np.average(np.stack(list_of_recalls), axis=0),
c='k', marker='s', label='avg')
c='k', marker='s', s=1, label='avg')

# Invert legend order
handles, labels = ax.get_legend_handles_labels()
Expand Down Expand Up @@ -434,7 +434,7 @@ def make_metric_plots(csv_path, taus, radii, title=''):

if len(list_of_fscores) > 0:
ax.scatter(taus, np.average(np.stack(list_of_fscores), axis=0),
c='k', marker='s', label='avg')
c='k', marker='s', s=1, label='avg')

# Invert legend order
handles, labels = ax.get_legend_handles_labels()
Expand Down

0 comments on commit c07194f

Please sign in to comment.