Skip to content

Commit

Permalink
fix fontsize in plot for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlackner committed Sep 17, 2024
1 parent 5b1fd0e commit 321240e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions abcvoting/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,6 @@ class PointProbabilityDistribution:
from abcvoting.generate import PointProbabilityDistribution
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 4})
# distributions to generate points in 1- and 2-dimensional space
distributions = [
PointProbabilityDistribution("1d_interval", center_point=[0]),
Expand All @@ -855,7 +853,7 @@ class PointProbabilityDistribution:
PointProbabilityDistribution("2d_gaussian_disc", center_point=[6, 2], sigma=0.25),
]
fig, ax = plt.subplots(dpi=600, figsize=(14, 6))
fig, ax = plt.subplots(dpi=600, figsize=(7, 3))
points = []
for dist in distributions:
if dist.name.startswith("2d"):
Expand Down

0 comments on commit 321240e

Please sign in to comment.