Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
yoelcortes committed Aug 26, 2024
1 parent 23fb77a commit e86233f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion thermosteam/_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
mass_units = indexer.ChemicalMassFlowIndexer.units
vol_units = indexer.ChemicalVolumetricFlowIndexer.units


class StreamData:
__slots__ = ('_imol', '_T', '_P', '_phases')

Expand Down
2 changes: 1 addition & 1 deletion thermosteam/utils/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def set_figure_size(width=None, aspect_ratio=None, units=None):
# aspect ratio defaults to 0.65
if aspect_ratio is None:
aspect_ratio = 0.65
if width is None:
if width is None or width == 'full':
width = 6.6142
elif width == 'half':
width = 6.6142 / 2
Expand Down

0 comments on commit e86233f

Please sign in to comment.