The composition of forming planets is strongly affected by the protoplanetary disc's thermal structure. This thermal structure is predominantly set by dust radiative transfer and viscous (accretional) heating and can be impacted by gaps - regions of low dust and gas density that can occur when planets form. The effect of variations in dust surface density on disc temperature has been poorly understood until now. In this work, we use the radiative transfer code MCMax to model the 2D dust thermal structure with individual gaps corresponding to planets with masses of 0.1 M$_J$ - 5 M$_J$ and orbital radii of 3, 5, and 10 AU. Low dust opacity in the gap allows radiation to penetrate deeper into the disc and warm the midplane by up to 16 K, but o...