<s> from __future__ import division , print_function <EOL> import matplotlib <EOL> matplotlib . use ( '<STR_LIT>' ) <EOL> from matplotlib import rc <EOL> import matplotlib . pyplot as plt <EOL> import pandas as pd <EOL> def initialize_matplotlib ( ) : <EOL> inches_per_pt = <NUM_LIT:1.0> / <NUM_LIT> <EOL> fig_width = <NUM_LIT> * inches_per_pt <EOL> fig_height = <NUM_LIT> * inches_per_pt <EOL> rc ( '<STR_LIT>' , labelsize = <NUM_LIT:8> ) <EOL> rc ( '<STR_LIT>' , titlesize = <NUM_LIT:8> ) <EOL> rc ( '<STR_LIT>' , unicode_minus = False ) <EOL> rc ( '<STR_LIT>' , grid = False ) <EOL> rc ( '<STR_LIT>' , figsize = ( fig_width , fig_height ) ) <EOL> rc ( '<STR_LIT>' , linestyle = '<STR_LIT::>' ) <EOL> rc ( '<STR_LIT>' , family = '<STR_LIT>' ) <EOL> rc ( '<STR_LIT>' , fontsize = <NUM_LIT:8> ) <EOL> rc ( '<STR_LIT>' , linewidth = <NUM_LIT> ) <EOL> rc ( '<STR_LIT>' , usedistiller = '<STR_LIT>' ) <EOL> rc ( '<STR_LIT:text>' , usetex = True ) <EOL> rc ( '<STR_LIT>' , labelsize = <NUM_LIT:8> ) <EOL> rc ( '<STR_LIT>' , labelsize = <NUM_LIT:8> ) <EOL> initialize_matplotlib ( ) <EOL> df = pd . read_excel ( '<STR_LIT>' , sheetname = '<STR_LIT>' ) <EOL> colors = { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' <EOL> } <EOL> for dset in colors : <EOL> idx = ( df [ '<STR_LIT>' ] == dset ) <EOL> x_ax = df [ idx ] [ '<STR_LIT>' ] <EOL> y_ax = df [ idx ] [ '<STR_LIT>' ] <EOL> plt . plot ( x_ax , y_ax , colors [ dset ] , alpha = <NUM_LIT> , markersize = <NUM_LIT:5> , label = dset ) <EOL> ax = plt . gca ( ) <EOL> ax . tick_params ( direction = '<STR_LIT>' , pad = <NUM_LIT> ) <EOL> ax . spines [ '<STR_LIT:right>' ] . set_visible ( False ) <EOL> ax . spines [ '<STR_LIT>' ] . set_visible ( False ) <EOL> ax . xaxis . set_ticks_position ( '<STR_LIT>' ) <EOL> ax . yaxis . set_ticks_position ( '<STR_LIT:left>' ) <EOL> plt . ylim ( ( <NUM_LIT:0.1> , <NUM_LIT> ) ) <EOL> plt . xlim ( ( <NUM_LIT:0> , <NUM_LIT:6> ) ) <EOL> plt . minorticks_off ( ) <EOL> plt . ylabel ( '<STR_LIT>' , labelpad = <NUM_LIT:0> ) <EOL> plt . xlabel ( '<STR_LIT>' , labelpad = <NUM_LIT:0> ) <EOL> plt . tight_layout ( pad = <NUM_LIT> ) <EOL> plt . legend ( loc = '<STR_LIT>' , frameon = False , ncol = <NUM_LIT:3> ) <EOL> plt . savefig ( '<STR_LIT>' ) </s>
