Skip to content

Commit

Permalink
1. fix a typo in graphs.py (thanks to Dima Pereima!)
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Dec 3, 2024
1 parent fed71e0 commit 98e84bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ReleaseNotes/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
## Backward incompatible

## Bug fixes



1. fix a typo in `graphs.py` (thanks to Dima Pereima!)

# v1.13.8.0

## New features
Expand Down
2 changes: 1 addition & 1 deletion ostap/histos/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,7 @@ def _color_ ( self ,
if hasattr ( self , 'SetFillStyle' ) :
if fill is True : self.SetFillStyle ( 1001 )
elif fill is False : self.SetFillStyle ( 0 )
elif insinstance ( fill , integer_types ) and 1000 < fill :
elif isinstance ( fill , integer_types ) and 1000 < fill :
self.SetFillStyle ( fill )

if hasattr ( self , 'SetFillColorAlpha' ) and isinstance ( opacity , num_types ) and 0 <= opacity <= 1 :
Expand Down

0 comments on commit 98e84bc

Please sign in to comment.