-
Notifications
You must be signed in to change notification settings - Fork 94
Fix future/deprecation warning #201
Copy link
Copy link
Open
Labels
Milestone
Description
Fix all of the future/deprecations warnings currently present:
- Fix
MarkerStyle(None)deprecation in matplotlib by replacing it withMarkerStyle('') - Replace deprecated
.iteritems()with.items()for dicts - Fix Matplotlib deprecation of
locas a positional keyword inlegendfunctions - Import
launcherfromipyparallel.clusterinstead ofipyparallel.apps - EMAworkbench/ema_workbench/em_framework/salib_samplers.py:137: DeprecationWarning:
salib.sample.saltelliwill be removed in SALib 1.5. Please usesalib.sample.sobol - sklearn/cluster/_agglomerative.py:983: FutureWarning: Attribute
affinitywas deprecated in version 1.2 and will be removed in 1.4. Usemetricinstead (clusterer: Update AgglomerativeClustering keyword to fix deprecation #218) - DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops. (Replace deprecated zmq.eventloop.ioloop with Tornado's ioloop #334)
No action needed
The new default behaviour will be the desired behaviour:
- EMAworkbench/ema_workbench/analysis/parcoords.py:176: FutureWarning: In a future version,
df.iloc[:, i] = newvalswill attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use eitherdf[df.columns[i]] = newvalsor, if columns are non-unique,df.isetitem(i, newvals) - EMAworkbench/EMAworkbench/ema_workbench/analysis/logistic_regression.py:256: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
self.peeling_trajectory = pd.concat(
To-do:
- EMAworkbench/ema_workbench/analysis/scenario_discovery_util.py:413: UserWarning: FixedFormatter should only be used together with FixedLocator
- Python/3.10.8/x64/lib/python3.10/site-packages/tornado/ioloop.py:265: DeprecationWarning: There is no current event loop
- Python/3.10.8/x64/lib/python3.10/site-packages/tornado/platform/asyncio.py:299: DeprecationWarning: There is no current event loop
Reactions are currently unavailable