Commit dfbbd664 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

remove obsolete code, includes

parent d8a42742
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -62,11 +62,6 @@ struct DomainConfig {
  std::shared_ptr<DomainLimitHints> limit_hints;
};

using DomainMap = std::unordered_map<std::string, DomainConfig>;

static const std::string SCALE_DEFAULT_X = "x";
static const std::string SCALE_DEFAULT_Y = "y";

void domain_fit(double value, DomainConfig* domain);

double domain_min(const DomainConfig& domain);
+0 −4
Original line number Diff line number Diff line
@@ -32,14 +32,10 @@
#include <stdlib.h>
#include <plist/plist.h>
#include <graphics/layer.h>
#include <graphics/viewport.h>
#include <source/common/scale.h>
#include <source/element.h>
#include <source/config_helpers.h>
#include <source/utils/algo.h>
#include "elements/axis.h"
#include "plot.h"
#include "legend.h"

namespace plotfx {
namespace plot {
+0 −1
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@
#include <vector>
#include <plist/plist.h>
#include <graphics/layer.h>
#include <graphics/viewport.h>
#include <utils/return_code.h>
#include <source/format.h>
#include <source/dimension.h>
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@
#include <graphics/layout.h>
#include <source/utils/algo.h>
#include "source/config_helpers.h"
#include "document.h"

using namespace std::placeholders;

+0 −3
Original line number Diff line number Diff line
@@ -32,12 +32,9 @@
#include <stdlib.h>
#include <plist/plist.h>
#include <graphics/layer.h>
#include <graphics/viewport.h>
#include <source/common/scale.h>
#include <source/element.h>
#include <source/config_helpers.h>
#include "elements/axis.h"
#include "plot.h"

namespace plotfx {
namespace plot {
Loading