ranaroussi / quantstats

Function with cyclomatic complexity higher than threshold PY-R1000
Anti-pattern
Minor
1 occurrence in this check
snapshot has a cyclomatic complexity of 43 with "very-high" risk
  59        return plotly.plotly.iplot(fig, filename="quantstats-plot", overwrite=True)
  60
  61
  62def snapshot(  63    returns,
  64    grayscale=False,
  65    figsize=(10, 8),