fbdesignpro / sweetviz

Visualize and compare datasets, target values and associations, with one line of code.
MIT License
2.94k stars 277 forks source link

Not able to remove logo #87

Closed kirankhannas closed 3 years ago

kirankhannas commented 3 years ago

import sweetviz as sv sv.config_parser.read("Override.ini") [Layout] show_logo = 0

Not working it shows NameError: name 'Layout' is not defined

fbdesignpro commented 3 years ago

@kirankhannas thank you for the info, I would really like this to work well so I will try to help fix this for you. To start, I'm assuming the part starting at [Layout] is in the file Override.ini? If not, to clarify, that section is a separate file (Override.ini), which gets loaded by the read command. Let me know if this helps.

kirankhannas commented 3 years ago

Hi Francois, Thank you so much. So this means i need to use anaconda prompt and say conda install override.ini. Is this correct or i have to write in jupiter notebook as read Override.ini.

Can you send me an example of this command where you used to remove the logo.Thanks

Sincerely Kiran Khannas

On 19-Apr-2021, at 6:03 PM, Francois Bertrand @.***> wrote:

 @kirankhannas thank you for the info, I would really like this to work well so I will try to help fix this for you. To start, I'm assuming the part starting at [Layout] is in the file Override.ini? If not, to clarify, that section is a separate file (Override.ini), which gets loaded by the read command. Let me know if this helps.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

fbdesignpro commented 3 years ago

Hi @kirankhannas, apologies for the delay in answering as I was not able to get to anything Sweetviz-related this week. The Override.ini is actually a separate file that contains settings you wish to override.

The sv.config_parser.read("Override.ini") command is the only thing you need to add to Python, and it loads that file.

So you need to make sure the path/filename you specify in the read() command points to such a file, and it should work!

I don't think it even needs to end with .ini; there is a limitation here I cannot upload a .ini file so here is an example .txt file, you should be able to simply load it using sv.config_parser.read("Override.txt").

Override.txt

Thank you, let me know if that works!

Francois

kirankhannas commented 3 years ago

Thank you Francois. It works for me and fantastic work. This is amazing. Is there a way we can insert custom logo as well? Sorry, for my late response, I am suffering from covid, so not checking the emails. Many thanks for your help.

fbdesignpro commented 3 years ago

@kirankhannas I hope you are feeling better :(

Thank you for the good words, I am glad it was working eventually! I am adding this to a desired feature, but unfortunately I don't think I will have the time to work on that feature in the short term. Closing the issue for now but I am keeping this on a future feature list.