Skip to content

chap-9 Output graph is rotated. #488

Open
@bhuiyan-rifat

Description

@bhuiyan-rifat

*Input graph is rotated

chap-9 uses a function from ""from kf_book.nonlinear_plots import plot_nonlinear_func""
where in the 'input' histogram the xs and ys got replaced and the graph is rotated 90 degrees clockwise. Was it intentional?
I see in plot_nonlinear_func for input graph the histogram plot is written as
plt.plot(h[0], h[1][1:], lw=2....)
instead of
plt.plot(h[1][1:], h[0], lw=2...)

Was it intentional?
We are comparing the noise before and after applying nonlinear function so they should be similarly oriented to see, right?
this is what it looks like
image

this is what it should look like(I think)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions