Skip to content

Commit

Permalink
fix figsizes
Browse files Browse the repository at this point in the history
  • Loading branch information
leliel12 committed Jun 14, 2017
1 parent db1eeab commit 9d5bacb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions skcriteria/plot/multihist.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def multihist_plot(
# create ax if necesary
if ax is None:
subplots_kwargs = subplots_kwargs or {}
subplots_kwargs.setdefault("figsize", (7, 6))
ax = plt.subplots(**subplots_kwargs)[-1]

# colors
Expand Down
1 change: 1 addition & 0 deletions skcriteria/plot/radar.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def radar_plot(mtx, criteria, weights, anames, cnames,
if ax is None:
subplots_kwargs = subplots_kwargs or {}
subplots_kwargs.setdefault("subplot_kw", {"projection": "radar"})
subplots_kwargs.setdefault("figsize", (7, 5))
ax = plt.subplots(**subplots_kwargs)[-1]
figure = ax.get_figure()

Expand Down
1 change: 1 addition & 0 deletions skcriteria/plot/scmtx.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def scatter_plot_matrix(
skwargs = subplots_kwargs or {}
skwargs.setdefault("sharex", False)
skwargs.setdefault("sharey", False)
skwargs.setdefault("figsize", (7, 6))
fig, axes = plt.subplots(M, M, **skwargs)

sc_kwargs = scatter_kwargs or {}
Expand Down

0 comments on commit 9d5bacb

Please sign in to comment.