Skip to content

Commit

Permalink
feat: remove dark and orange model from inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabclmnt committed Oct 15, 2024
1 parent 06524cc commit 712ee67
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion examples/features/theme_flatly_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
report = ProfileReport(
df,
title="Coal Prices (IMF)",
dark_mode=True,
html={
"style": {
"logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAArCAYAAADIWo5HAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AIMFC0AShJOrwAACuVJREFUaN7tmWnMpXV5xn//7dnec867DTMvzsAww2xUsYVCYyEYbVUgBSPSRm1iE/nQJk0a28TYxdgmGhJbSRdJl9TGllZR0ZombZq0SRdRC12cqGDJIINI4J31Xc+z/7d+eA6TpuknGHghmevDOck5eZ7nPte5l+u6/3AJl3AJl3AJLz9+5SO/rO69/zfFqy0u/Uo9aG11/W1bZ7fOPPL8E9954BN/MLe9vaXOnDp/TaL1DWVVduPxeCMfzf39lz//UCWE4Lqbb1Rr61vi2SeedC9nXC/bP/LJP/09uWdu+eC/P/rogaqs31KV5Xud8/HcuXP/BnFvhMz7cCCGcHlZljHL0q4o5v7x4NUHzj/1vadCmuflZZfteqqs6y+/+923n3v00f/Sn/7jz/SvCQLe9YGfkbkz781M+rHnnntut7NuHCOUZYn3Hu8dRhuEECilmE5LlpaX6Pse7z1CwFwxR5Im9frGxmMHDuz/j/F4FDtr733wrx48+6ol4Pbb3ibfdNPN4/88/q3DW+vrD9iu/yEQjMcjyqrCO08IAR88RZ4TQkApSQygtGF7ewshBCYZyAk+4LxHK8ni0kKYzE8+eNWxI39038c/ES5WzOp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ions & 2 deletions src/ydata_profiling/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,15 +410,15 @@ class Config:
"duplicates": None,
"vars": {"cat": {"redact": True}, "text": {"redact": True}},
},
"dark_mode": {
"flatly_theme": {
"html": {
"style": {
"theme": Theme.flatly,
"primary_color": "#2c3e50",
}
}
},
"orange_mode": {
"united_theme": {
"html": {
"style": {
"theme": Theme.united,
Expand Down
4 changes: 0 additions & 4 deletions src/ydata_profiling/profile_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ def __init__(
sortby: Optional[str] = None,
sensitive: bool = False,
explorative: bool = False,
dark_mode: bool = False,
orange_mode: bool = False,
sample: Optional[dict] = None,
config_file: Optional[Union[Path, str]] = None,
lazy: bool = True,
Expand Down Expand Up @@ -125,8 +123,6 @@ def __init__(
groups = [
(explorative, "explorative"),
(sensitive, "sensitive"),
(dark_mode, "dark_mode"),
(orange_mode, "orange_mode"),
]

if any(condition for condition, _ in groups):
Expand Down

0 comments on commit 712ee67

Please sign in to comment.