Skip to content

Commit

Permalink
removed deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Schaefer committed Mar 22, 2017
1 parent 738ff83 commit e58b55e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pandapower/plotting/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def draw_collections(collections, figsize=(10, 8), ax=None, plot_colorbars=True)
cbar_load = plt.colorbar(c, extend=c.extend if hasattr(c, "extend") else "neither")
if hasattr(c, "cbar_title"):
cbar_load.ax.set_ylabel(c.cbar_title)
ax.set_axis_bgcolor("white")
ax.set_facecolor("white")
ax.xaxis.set_visible(False)
ax.yaxis.set_visible(False)
ax.set_aspect('equal', 'datalim')
Expand Down
2 changes: 0 additions & 2 deletions pandapower/run_dc_pf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
from pandapower.pypower_extensions.bustypes import bustypes


# from pandapower.run_pf_algorithm import _store_results_from_pf_in_ppci, _get_pf_variables_from_ppci

def _run_dc_pf(ppci):
t0 = time()
baseMVA, bus, gen, branch, ref, pv, pq, on, gbus, _ = _get_pf_variables_from_ppci(ppci)
Expand Down

0 comments on commit e58b55e

Please sign in to comment.