the shift by option in fit.powerlaw.plot_ccdf(shift_by='original_data') not working.

17 views
Skip to first unread message

Rahul Kumar

unread,
Jun 19, 2022, 11:23:29 PM6/19/22
to powerlaw-general
Hello Jeff,

I am facing the same issue as the previous user but in past, you solved the problem by implementing shift_by='original_data'. But in my case it gives an error


my code is this 
ax = fit.plot_ccdf(original_data=True)
fit.power_law.plot_ccdf(ax=ax, shift_by='original_data')#add powerlaw line
after running it it gives this error

'Line2D' object has no property 'shift_by'

The plot looks like this:
But in actual both empirical data and power-law line fit should superimpose each other
 power.png
Reply all
Reply to author
Forward
0 new messages