Skip to content

Commit

Permalink
renamed bucket distribution plot
Browse files Browse the repository at this point in the history
  • Loading branch information
sommerda committed Sep 23, 2018
1 parent 597e831 commit c679808
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions privacy_webpage/webpage/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,24 +204,24 @@ def construct_image(module_params, n, filename, titles, dual = False):
pld_plots = {}
pld_plots['initial'] = {\
'ydata' : pb.bucket_distribution,
'xdata' : range(len(pb.bucket_distribution)),
'xdata' : (np.arange(len(pb.bucket_distribution))- pb.one_index ) * pb.log_factor,
'name' : 'initial',
'color' : 'blue',
'linestyle' : 'solid',
}

pld_plots['final'] = {\
'ydata' : pbn.bucket_distribution,
'xdata' : range(len(pb.bucket_distribution)),
'xdata' : (np.arange(len(pbn.bucket_distribution))- pbn.one_index ) * pbn.log_factor,
'name' : 'after composition',
'color' : 'brown',
'linestyle' : 'dashed',
}

figures['Bucket distribution'] = {\
figures['privacy loss distribution'] = {\
'dict' : pld_plots,
'x axis' : 'bucket index i',
'y axis' : 'B(i)'}
'x axis' : 'ε',
'y axis' : 'Loss(ε)'}

##### ADP plots

Expand Down

0 comments on commit c679808

Please sign in to comment.