\documentclass[aspectratio=169, x11names]{beamer}
% 
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} 
\usepackage[lf]{carlito}
\usepackage{graphicx}  % needed for figures
\usepackage{bm}        % for math
\usepackage{amssymb}   % for math
\usepackage[detect-all=true]{siunitx}

\usepackage{mathtools}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usepackage{pgfplots}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{math}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{shapes.arrows}
\usetikzlibrary{shapes.symbols}
\usetikzlibrary{positioning}
\usetikzlibrary{shadows}
\usetikzlibrary{patterns}
\tikzset{every node/.append style={font=\sffamily}}

\usepackage{nicefrac}
\usepackage{physics}
% 

%%%%%%%%%%%%%%%% pgfplots options
\pgfplotsset{
  compat=newest,
  legend image code/.code={
    \draw[mark repeat=2,mark phase=2]
    plot coordinates {
      (0cm,0cm)
      (0.15cm,0cm)        %% default is (0.3cm,0cm)
      (0.3cm,0cm)         %% default is (0.6cm,0cm)
    };%
  }
}

\usepackage{array}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\renewcommand{\arraystretch}{1.75}

%%%%%%%%%%%%%%%% bibliography things
\input{biblio_config_beamer.tex}
\addbibresource{biblio.bib}

%%%%%%%%%%%%%%%%%% beamer style
\input{beamer_settings.tex}


\newlength\imagewidth
\newlength\imagescale

%\usepackage{multimedia}

\begin{document}
% title slide
\begin{frame}[plain]
  \begin{center}
    \huge \textbf{Title slide}
  \end{center}
\end{frame}

\begin{frame}{A frame with columns and a TikZ drawing}
  \begin{columns}
    \begin{column}{0.55\textwidth}
      \begin{itemize}
      \item In the other column, there is a small drawing
      \item And also a graph
      \end{itemize}
    \end{column}
    \begin{column}{0.45\textwidth}
      \centering
       \begin{tikzpicture}
        \begin{scope}
          \node[ball color=Red3, circle, minimum width=5mm] (ball) at (0,0){};
          \draw[Red3, line width=3pt, -stealth] (ball)--++(50:1);
          \draw[Red3, line width=3pt] (ball)--++(-130:1);
        \end{scope}
        \begin{axis}
          [xlabel = Some x data (unit),
          ylabel = Some y data (unit),
          axis x line = bottom,
          axis y line = left,
          width=5cm,
          xshift=-2cm,
          yshift=-4.5cm,
          height=4cm,
          xmin=-0.25,
          xmax=3.25,
          ymin=-0.5,
          ymax=2.75,
          legend style = {legend pos = north west, draw=none, font=\small}
          ]

          \addplot[only marks, mark=*, DarkOrchid3, error bars/.cd, y dir=both, y explicit, x dir=both, x explicit] coordinates{
            (0,0.75)+-(0.1, 0.15)
            (1,0)+-(0.2,0.1)
            (2,1.5)+-(0.15,0.3)
            (3,2)+-(0.05,0.1)
          };
          \addlegendentry{legend};
        \end{axis}
       \end{tikzpicture}
    \end{column}
  \end{columns}
  \flushright
  \bcite{someone_something_2019}
\end{frame}

%\begin{frame}{Movie slide}
  % for use with pdfpc
  %\movie[loop]{\includegraphics[scale=1]{1st_image.png}}{movie_file.avi}
%\end{frame}

\end{document}
