close

[Solved] AttributeError: ‘Rectangle’ object has no property ‘norm_hist’

Hello Guys, How are you all? Hope You all Are Fine. Today I am facing the following error AttributeError: ‘Rectangle’ object has no property ‘norm_hist’ in Python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How AttributeError: ‘Rectangle’ object has no property ‘norm_hist’ Error Occurs ?

Today I am facing the following error:

AttributeError: 'Rectangle' object has no property 'norm_hist'

How To Solve AttributeError: ‘Rectangle’ object has no property ‘norm_hist’ Error ?

  1. How To Solve AttributeError: 'Rectangle' object has no property 'norm_hist' Error ?

    To Solve AttributeError: 'Rectangle' object has no property 'norm_hist' Error Just changing ffn/core.py (it was the first file in the error list, your file is different I see, but same principle norm something must be depreaced?)

Solution 1

Just changing ffn/core.py (it was the first file in the error list, your file is different I see, but same principle norm something must be depreaced?)

from

ax = ser.hist(bins=bins, figsize=figsize, normed=True, **kwargs)

to

ax = ser.hist(bins=bins, figsize=figsize, density=True, **kwargs)

Solution 2

According to the documentation, displot indeed does not have this parameter. your are confused with the deprecated distplot function (here) that has it.

Solution 3

use the “density” keyword instead of the “normed” keyword

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment