File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import matplotlib .patches as patches
66import matplotlib .pyplot as plt
77from plotly .subplots import make_subplots
8- from pygame import ver
98from tikzpics import TikzFigure
109
1110from maxplotlib .backends .matplotlib .utils import (
@@ -326,15 +325,15 @@ def plot_matplotlib(
326325 if verbose :
327326 print ("Generating Matplotlib figure..." )
328327
329- # tex_fonts = setup_tex_fonts(fontsize=self.fontsize, usetex=usetex)
328+ tex_fonts = setup_tex_fonts (fontsize = self .fontsize , usetex = usetex )
330329
331- # setup_plotstyle(
332- # tex_fonts=tex_fonts,
333- # axes_grid=True,
334- # axes_grid_which="major",
335- # grid_alpha=1.0,
336- # grid_linestyle="dotted",
337- # )
330+ setup_plotstyle (
331+ tex_fonts = tex_fonts ,
332+ axes_grid = True ,
333+ axes_grid_which = "major" ,
334+ grid_alpha = 1.0 ,
335+ grid_linestyle = "dotted" ,
336+ )
338337 if verbose :
339338 print ("Plot style set up." )
340339 print (f"{ self ._figsize = } { self ._width = } { self ._ratio = } " )
@@ -357,7 +356,7 @@ def plot_matplotlib(
357356 squeeze = False ,
358357 dpi = self .dpi ,
359358 )
360- return
359+
361360 for (row , col ), subplot in self .subplots .items ():
362361 ax = axes [row ][col ]
363362 if isinstance (subplot , TikzFigure ):
Original file line number Diff line number Diff line change 3434 " \n " ,
3535 " \n " ,
3636 " # TODO: Uncomment if pdflatex is installed\n " ,
37- " # c.show(backend=\" tikzpics\" )"
37+ " c.show(backend=\" tikzpics\" )"
3838 ]
3939 }
4040 ],
You can’t perform that action at this time.
0 commit comments