Skip to content
Commit b9c10bb7 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa.trace: Add trace.ana property

Similar to lisa.analysis except:
* shorter to type
* Plot methods will defaults to returning holoviews objects, unlike
  lisa.analysis.XXX.plot_foo() that will return matplotlib axes if
  matplotlib backend is chosen (for backward compatibility)
* Allow setting default values for any analysis method:

    trace.ana(foo=42).XXX.df_YYY()
    # Is equivalent to:
    trace.ana.XXX.df_YYY(foo=42)

    # Parameters can be accumulated as well:
    trace.ana(foo=42)(bar=43).XXX.df_YYY()
    # Is equivalent to:
    trace.ana(foo=42, bar=43).XXX.df_YYY()

    # The method call can override any of these parameters:
    trace.ana(foo=42, bar=43).XXX.df_YYY(foo=53)

Note: If the method does not uses that parameter, it will simply be
ignore.
parent e90bd030
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment