Why isn't this plot showing any points? #12521
              
                
                  
                  
                    Answered
                  
                  by
                    cscheid
                  
              
          
                  
                    
                      LantzMcGinnis-Brown
                    
                  
                
                  asked this question in
                Q&A
              
            -
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            cscheid
          
      
      
        Apr 11, 2025 
      
    
    Replies: 1 comment 5 replies
-
| Are you sure your code to plot the data is correct? | 
Beta Was this translation helpful? Give feedback.
                  
                    5 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    

I started by just outputting the data itself:
Then I saw this:
It's an object with arrays inside. OJS's Plot library expects an array of objects, not an object of arrays. We explain this explicitly in the docs.