@@ -59,7 +59,7 @@ def __init__(
5959 self ._slide_layout = slide_layout
6060 self ._shape_registry : list [Callable [[PptxSlide ], Shape [Any ]]] = []
6161
62- def text (self , text : str , / , ** kwargs : Unpack [TextProps ]) -> Self :
62+ def text (self , text : str , ** kwargs : Unpack [TextProps ]) -> Self :
6363 data = TextData (type = "text" , text = text , ** kwargs )
6464
6565 self ._shape_registry .append (
@@ -77,7 +77,7 @@ def text(self, text: str, /, **kwargs: Unpack[TextProps]) -> Self:
7777 return self
7878
7979 def picture (
80- self , image_file : FilePath | IO [bytes ], / , ** kwargs : Unpack [PictureProps ]
80+ self , image_file : FilePath | IO [bytes ], ** kwargs : Unpack [PictureProps ]
8181 ) -> Self :
8282 data = PictureData (type = "picture" , image_file = image_file , ** kwargs )
8383
@@ -101,7 +101,7 @@ def picture(
101101
102102 return self
103103
104- def table (self , data : DataFrame , / , ** kwargs : Unpack [TableOptions ]) -> Self :
104+ def table (self , data : DataFrame , ** kwargs : Unpack [TableOptions ]) -> Self :
105105 rows , cols = len (data ), len (data [0 ])
106106 props : TableProps = {"type" : "table" , "data" : data , ** kwargs }
107107
0 commit comments