@@ -24,11 +24,11 @@ namespace matplot {
2424 class axes_type : public std ::enable_shared_from_this<class axes_type > {
2525 public:
2626 // {left bottom right top}
27- static constexpr std::array<float , 4 > default_subplot_inset{.2 , .18 ,
28- .04 , .1 };
27+ static constexpr std::array<float , 4 > default_subplot_inset{.2f , .18f ,
28+ .04f , .1f };
2929 // {x, y, width, height}
30- static constexpr std::array<float , 4 > default_axes_position{.13 , .11 ,
31- .775 , .815 };
30+ static constexpr std::array<float , 4 > default_axes_position{.13f , .11f ,
31+ .775f , .815f };
3232
3333 public:
3434 axes_type ();
@@ -2783,7 +2783,7 @@ namespace matplot {
27832783
27842784 // colors for children object
27852785 std::array<float , 4 > color_{0 , 1.0 , 1.0 , 1.0 };
2786- std::array<float , 4 > color_outside_{0 , 0.97 , 0.97 , 0.97 };
2786+ std::array<float , 4 > color_outside_{0 , 0 .97f , 0 .97f , 0 .97f };
27872787 std::vector<std::array<float , 4 >> colororder_{
27882788 default_color (0 ), default_color (1 ), default_color (2 ),
27892789 default_color (3 ), default_color (4 ), default_color (5 ),
0 commit comments