ATLANTA — In a loss on Wednesday, the usually upbeat Mauricio Dubón snapped his bat over his thigh after lining out for the last out. A few days ago in Philadelphia, the typically calm Matt Olson slammed his helmet on a few occasions as his own struggles continued.Dubón and Olson are leaders in the Atlanta Braves’ clubhouse, and their actions reflected the offense’s struggles. The Braves had only scored three runs across three games on Monday, Tuesday and Wednesday. They entered Thursday on the verge of getting swept by the Tampa Bay Rays, who hold the best record in the American League.Things didn’t look that great for much of the game on Thursday, either, until in a matter of four swings, Atlanta mustered enough momentum for a 3-1 win.Whatever spark the Braves offense created, the club better hope it keeps smoldering during another pivotal weekend for the National League playoff picture. The Braves will host the Philadelphia Phillies for a three-game series that starts Friday. As was the case when these two teams met last weekend, the Braves hold a four-game lead in the NL East.“You learn a lot about yourself and good competition,” said Braves hitting coach Tim Hyers. “Those aces that we’ve been facing — it’s challenging, and hopefully we’ve learned from some of the guys we faced recently, and we’ll be better for it.”The entire Braves offense struggled, but it’s especially felt from first baseman Olson. He has endured a miserable stretch over the last week, going 3-for-23 (.130) over his last seven games. The slump has sapped the power that has defined his offensive game, with no extra-base hits and just one RBI during that span.