Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
double check public namespaces
  • Loading branch information
OriolAbril committed Dec 9, 2025
commit cc2cb27bd8115968fb657d54a7779f13bbe5ee84
9 changes: 5 additions & 4 deletions arviz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
import logging
import os
import re
import warnings
import datetime
from pathlib import Path

from matplotlib.colors import LinearSegmentedColormap
from matplotlib.pyplot import style
Expand All @@ -23,6 +20,10 @@ def _warn_once_per_day():
if len(pat.findall(info)) == 3:
return

import warnings
import datetime
from pathlib import Path

warning_dir = Path.home() / "arviz_data"
warning_dir.mkdir(exist_ok=True)

Expand Down Expand Up @@ -372,4 +373,4 @@ def _mpl_cm(name, colorlist):


# clean namespace
del os, logging, LinearSegmentedColormap, Logger, mpl
del os, re, logging, version, LinearSegmentedColormap, Logger, mpl
2 changes: 1 addition & 1 deletion arviz/preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
info += _status + "\n"

# clean namespace
del logging, _status
del logging, _status, _log
Loading