Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column headers not aligning with many/long names present. #57

Closed
MilesMcBain opened this Issue Sep 18, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@MilesMcBain
Copy link

MilesMcBain commented Sep 18, 2017

It looks like the col headers need to be moved right and upward to align with the columns. It gets a bit tricky with long names as they might approach the plot boundary.

As a workaround I replaced name by indicie.

library(tibble)
library(visdat)
library(magrittr)
tibble::tribble(
  ~left_eye_center_x, ~left_eye_center_y, ~right_eye_center_x, ~right_eye_center_y, ~left_eye_inner_corner_x, ~left_eye_inner_corner_y, ~left_eye_outer_corner_x, ~left_eye_outer_corner_y, ~right_eye_inner_corner_x, ~right_eye_inner_corner_y, ~right_eye_outer_corner_x, ~right_eye_outer_corner_y, ~left_eyebrow_inner_end_x, ~left_eyebrow_inner_end_y, ~left_eyebrow_outer_end_x, ~left_eyebrow_outer_end_y, ~right_eyebrow_inner_end_x, ~right_eyebrow_inner_end_y, ~right_eyebrow_outer_end_x, ~right_eyebrow_outer_end_y,   ~nose_tip_x,   ~nose_tip_y, ~mouth_left_corner_x, ~mouth_left_corner_y, ~mouth_right_corner_x, ~mouth_right_corner_y, ~mouth_center_top_lip_x, ~mouth_center_top_lip_y, ~mouth_center_bottom_lip_x, ~mouth_center_bottom_lip_y,
       66.0335639098,      39.0022736842,       30.2270075188,       36.4216781955,             59.582075188,            39.6474225564,            73.1303458647,            39.9699969925,             36.3565714286,             37.3894015038,             23.4528721805,             37.3894015038,             56.9532631579,             29.0336481203,             80.2271278195,             32.2281383459,              40.2276090226,              29.0023218045,              16.3563789474,              29.6474706767, 44.4205714286, 57.0668030075,        61.1953082707,        79.9701654135,         28.6144962406,         77.3889924812,           43.3126015038,           72.9354586466,              43.1307067669,              84.4857744361,
       64.3329361702,      34.9700765957,       29.9492765957,       33.4487148936,            58.8561702128,            35.2743489362,            70.7227234043,            36.1871659574,             36.0347234043,             34.3615319149,             24.4725106383,             33.1444425532,             53.9874042553,             28.2759489362,              78.634212766,             30.4059234043,              42.7288510638,              26.1460425532,              16.8653617021,              27.0588595745, 48.2062978723, 55.6609361702,        56.4214468085,               76.352,         35.1223829787,         76.0476595745,           46.6845957447,           70.2665531915,              45.4679148936,              85.4801702128,
       65.0570526316,      34.9096421053,       30.9037894737,       34.9096421053,                   59.412,            36.3209684211,            70.9844210526,            36.3209684211,             37.6781052632,             36.3209684211,             24.9764210526,             36.6032210526,             55.7425263158,             27.5709473684,             78.8873684211,             32.6516210526,              42.1938947368,              28.1354526316,              16.7911578947,              32.0871157895, 47.5572631579, 53.5389473684,        60.8229473684,        73.0143157895,         33.7263157895,                72.732,           47.2749473684,           70.1917894737,              47.2749473684,              78.6593684211,
       65.2257391304,       37.261773913,       32.0230956522,        37.261773913,            60.0033391304,            39.1271791304,            72.3147130435,            38.3809669565,             37.6186434783,             38.7541147826,             25.3072695652,             38.0079026087,             56.4338086957,             30.9298643478,             77.9102608696,             31.6657252174,              41.6715130435,              31.0499895652,              20.4580173913,              29.9093426087, 51.8850782609, 54.1665391304,        65.5988869565,        72.7037217391,         37.2454956522,         74.1954782609,           50.3031652174,           70.0916869565,              51.5611826087,              78.2683826087,
       66.7253006135,      39.6212613497,        32.244809816,       38.0420319018,            58.5658895706,            39.6212613497,            72.5159263804,            39.8844662577,             36.9823803681,             39.0948515337,             22.5061104294,             38.3052368098,             57.2495705521,             30.6721766871,             77.7629447853,             31.7372466258,              38.0354355828,              30.9353815951,              15.9258699387,              30.6721766871, 43.2995337423, 64.8895214724,        60.6714110429,        77.5232392638,         31.1917546012,         76.9973006135,           44.9627484663,           73.7073865031,              44.2271411043,              86.8711656442,
       69.6807476636,      39.9687476636,       29.1835514019,        37.563364486,            62.8642990654,             40.169271028,            76.8982429907,            41.1718878505,              36.401046729,             39.3676261682,             21.7655327103,             38.5655327103,             59.7662803738,             31.6512897196,             83.3136448598,             35.3580560748,                     39.408,              30.5463925234,              14.9490841121,              32.1501308411, 52.4684859813,          58.8,        64.8690841121,        82.4711775701,         31.9904299065,         81.6690841121,           49.3081121495,           78.4876261682,              49.4323738318,              93.8987663551
  ) %>%
  vis_dat()

@njtierney njtierney closed this in e710f2d Mar 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.