def differentiate_shown_data(neighbors=<NUM_LIT:1>, fyname=<NUM_LIT:1>, **kwargs):
if neighbors:<EOL><INDENT>def D(x,y): return _fun.derivative_fit(x,y,neighbors)<EOL><DEDENT>else:<EOL><INDENT>def D(x,y): return _fun.derivative(x,y)<EOL><DEDENT>if fyname==<NUM_LIT:1>: fyname = '<STR_LIT>'+str(neighbors)+'<STR_LIT>'<EOL>manipulate_shown_data(D, fxname=None, fyname=fyname, **kwargs)<EOL>
Differentiates the data visible on the specified axes using
fun.derivative_fit() (if neighbors > 0), and derivative() otherwise.
Modifies the visible data using manipulate_shown_data(**kwargs)